diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-05-15 19:15:56 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-05-15 19:15:56 +0200 |
commit | 09ef4bcbac6f28351bb2a05edcb0cbd12479daf9 (patch) | |
tree | ed41f5f59e943e57643f01c0d6ffef59bc69cdaf | |
parent | 4a004e8b11591a3defc7867e4884e497cdca54e1 (diff) | |
download | nixos-09ef4bcbac6f28351bb2a05edcb0cbd12479daf9.tar nixos-09ef4bcbac6f28351bb2a05edcb0cbd12479daf9.tar.gz nixos-09ef4bcbac6f28351bb2a05edcb0cbd12479daf9.tar.bz2 nixos-09ef4bcbac6f28351bb2a05edcb0cbd12479daf9.tar.xz nixos-09ef4bcbac6f28351bb2a05edcb0cbd12479daf9.zip |
watchdog
-rw-r--r-- | custom/trivmix-service.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 406cfc71..fc69d93e 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -91,6 +91,7 @@ let | |||
91 | Nice = "-10"; | 91 | Nice = "-10"; |
92 | LimitRTPRIO = "95:95"; | 92 | LimitRTPRIO = "95:95"; |
93 | LimitMEMLOCK = "infinity"; | 93 | LimitMEMLOCK = "infinity"; |
94 | WatchdogSec = "2"; | ||
94 | }; | 95 | }; |
95 | script = '' | 96 | script = '' |
96 | exec -a trivmix -- trivmix ${escapeShellArgs trivmixArgs} | 97 | exec -a trivmix -- trivmix ${escapeShellArgs trivmixArgs} |