summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/mqtt_sub.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/2configs/shack/mqtt_sub.nix')
-rw-r--r--krebs/2configs/shack/mqtt_sub.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/2configs/shack/mqtt_sub.nix b/krebs/2configs/shack/mqtt_sub.nix
index a8427dde4..bd0b6df85 100644
--- a/krebs/2configs/shack/mqtt_sub.nix
+++ b/krebs/2configs/shack/mqtt_sub.nix
@@ -29,6 +29,8 @@ in {
User = "nobody";
ExecStart = "${pkg}/bin/sub-new";
PrivateTmp = true;
+ Restart = "always";
+ RestartSec = "15";
};
};
}