From 02e14c2816642c10e49d8368fa52b345241bd6e8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 13 Apr 2018 13:27:20 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/motion.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom/motion.nix b/custom/motion.nix index 712c1a61..b470541a 100644 --- a/custom/motion.nix +++ b/custom/motion.nix @@ -38,6 +38,8 @@ let ''; preStart = pkgs.writeScript "motion-pre-start" '' + #!${pkgs.stdenv.shell} + cat ${motionConfig} ${escapeShellArgs cfg.configFiles} > motion.conf mkdir -p cameras -- cgit v1.2.3