summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/powerraw.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-10-14 16:02:12 +0200
committerlassulus <lassulus@lassul.us>2019-10-14 16:02:12 +0200
commit7f7ce8077e4fa6fa023c63c4d1444576179859c3 (patch)
tree12e48733a1b1dbbcd3dc9d9aa72dba0393b666e7 /krebs/2configs/shack/powerraw.nix
parent539f4f09fc31552f58b0d32eec2a7b22000d3939 (diff)
parent8273bcc77c83307faec8963a48758cd51ad044ac (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.nix6
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";
};
};