From 78956e917c23d9018d91b3aede8f87b5d903b823 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 12 Dec 2022 18:37:07 +0100 Subject: l radio: use scriptFile for htgen --- lass/2configs/radio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lass/2configs/radio') 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 = { -- cgit v1.2.3