diff options
author | lassulus <lassulus@lassul.us> | 2019-10-14 16:02:12 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-14 16:02:12 +0200 |
commit | 7f7ce8077e4fa6fa023c63c4d1444576179859c3 (patch) | |
tree | 12e48733a1b1dbbcd3dc9d9aa72dba0393b666e7 /krebs/2configs/shack/powerraw.nix | |
parent | 539f4f09fc31552f58b0d32eec2a7b22000d3939 (diff) | |
parent | 8273bcc77c83307faec8963a48758cd51ad044ac (diff) |
Merge remote-tracking branch 'gum/19.09' into 19.09
Diffstat (limited to 'krebs/2configs/shack/powerraw.nix')
-rw-r--r-- | krebs/2configs/shack/powerraw.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/krebs/2configs/shack/powerraw.nix b/krebs/2configs/shack/powerraw.nix index af3f129c1..4118e7a72 100644 --- a/krebs/2configs/shack/powerraw.nix +++ b/krebs/2configs/shack/powerraw.nix @@ -22,8 +22,9 @@ in { serviceConfig = { User = "powermeter"; ExecStart = "${pkg}/bin/powermeter-serial2mqtt"; - Restart = "always"; PrivateTmp = true; + Restart = "always"; + RestartSec = "15"; }; }; @@ -33,8 +34,9 @@ in { serviceConfig = { User = "powermeter"; ExecStart = "${pkg}/bin/powermeter-mqtt2socket"; - Restart = "always"; PrivateTmp = true; + Restart = "always"; + RestartSec = "15"; }; }; |