summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-23 19:06:20 +0100
committerlassulus <lassulus@lassul.us>2021-01-23 19:06:20 +0100
commit348d5e476f0689f40c14b566c078c26ef6222676 (patch)
treeaeea01738d2639d71a7f65f69167c2a42cff25e5 /lass
parentea59935e5f57dfc03db3367f187ffaffafcc67a2 (diff)
l radio: import htgen script
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/radio.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix
index 6a020692a..707cc8459 100644
--- a/lass/2configs/radio.nix
+++ b/lass/2configs/radio.nix
@@ -275,7 +275,7 @@ in {
user = {
name = "radio";
};
- script = ''
+ script = ''. ${pkgs.writeDash "radio" ''
case "$Method $Request_URI" in
"GET /current")
printf 'HTTP/1.1 200 OK\r\n'
@@ -303,7 +303,7 @@ in {
exit
;;
esac
- '';
+ ''}'';
};
services.nginx = {