diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-13 13:28:55 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-13 13:28:55 +0200 |
commit | db3d5eb181cce1158dea307dd824f1b0d95e7fa0 (patch) | |
tree | 98eb8ed7e2d0979000e66b4ea8911ec8579d16cc | |
parent | 86ef23b04ec6938a31afac0a26d1daded58706ac (diff) | |
download | nixos-db3d5eb181cce1158dea307dd824f1b0d95e7fa0.tar nixos-db3d5eb181cce1158dea307dd824f1b0d95e7fa0.tar.gz nixos-db3d5eb181cce1158dea307dd824f1b0d95e7fa0.tar.bz2 nixos-db3d5eb181cce1158dea307dd824f1b0d95e7fa0.tar.xz nixos-db3d5eb181cce1158dea307dd824f1b0d95e7fa0.zip |
motion always logs to syslog
-rw-r--r-- | custom/motion.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/motion.nix b/custom/motion.nix index 303800c9..eff1790b 100644 --- a/custom/motion.nix +++ b/custom/motion.nix | |||
@@ -99,6 +99,7 @@ in { | |||
99 | WorkingDirectory = "/run/motion"; | 99 | WorkingDirectory = "/run/motion"; |
100 | ExecStart = "${pkgs.motion}/bin/motion -n -c motion.conf"; | 100 | ExecStart = "${pkgs.motion}/bin/motion -n -c motion.conf"; |
101 | ExecStartPre = "+${preStart}"; | 101 | ExecStartPre = "+${preStart}"; |
102 | StandardError = "null"; | ||
102 | }; | 103 | }; |
103 | 104 | ||
104 | wantedBy = [ "multi-user.target" ]; | 105 | wantedBy = [ "multi-user.target" ]; |