diff --git a/modules/system/nidus-sync.nix b/modules/system/nidus-sync.nix index 5e7cdc6..d991819 100644 --- a/modules/system/nidus-sync.nix +++ b/modules/system/nidus-sync.nix @@ -110,6 +110,7 @@ in { EnvironmentFile="${environmentFile}"; ExecStart = "${nidus-sync-pkg}/bin/nidus-sync"; PrivateTmp = true; + Restart = "on-failure"; TimeoutStopSec = "5s"; Type = "simple"; User = "${user}";