diff --git a/boxes/mainsail.nix b/boxes/mainsail.nix index 66796b5..48732f0 100644 --- a/boxes/mainsail.nix +++ b/boxes/mainsail.nix @@ -80,6 +80,10 @@ ''; wantedBy = [ "multi-user.target" ]; after = [ "network.target" "ankisyncd.service" ]; + serviceConfig = { + Restart = "on-failure"; + RestartSec = "0s"; + }; }; systemd.services.radicale-web-bridge = { @@ -88,6 +92,10 @@ ''; wantedBy = [ "multi-user.target" ]; after = [ "network.target" "ankisyncd.service" ]; + serviceConfig = { + Restart = "on-failure"; + RestartSec = "0s"; + }; }; systemd.services.internal-ssh-bridge = { @@ -96,5 +104,9 @@ ''; wantedBy = [ "multi-user.target" ]; after = [ "network.target" "ankisyncd.service" ]; + serviceConfig = { + Restart = "on-failure"; + RestartSec = "0s"; + }; }; }