diff options
author | lassulus <lassulus@lassul.us> | 2022-12-12 18:37:07 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-12 18:37:07 +0100 |
commit | 78956e917c23d9018d91b3aede8f87b5d903b823 (patch) | |
tree | e172c27f4c70e99721d480ec620d7745cae0f737 /lass/2configs | |
parent | 0802657364bc232fb8009bbecc7b2516bcb6dc09 (diff) |
l radio: use scriptFile for htgen
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/radio/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/radio/default.nix b/lass/2configs/radio/default.nix index 0f599ea14..dfb3d7e0b 100644 --- a/lass/2configs/radio/default.nix +++ b/lass/2configs/radio/default.nix @@ -210,7 +210,7 @@ in { user = { name = "radio"; }; - script = ''. ${pkgs.writeDash "radio" '' + scriptFile = pkgs.writeDash "radio" '' case "$Method $Request_URI" in "POST /skip") printf 'HTTP/1.1 200 OK\r\n' @@ -231,7 +231,7 @@ in { exit ;; esac - ''}''; + ''; }; services.nginx = { |