nixos/unifi: restarting on failure (#67456)
This commit is contained in:
parent
e3a6b8f31f
commit
81fe072a8f
@ -176,6 +176,7 @@ in
|
||||
Type = "simple";
|
||||
ExecStart = "${(removeSuffix "\n" cmd)} start";
|
||||
ExecStop = "${(removeSuffix "\n" cmd)} stop";
|
||||
Restart = "on-failure";
|
||||
User = "unifi";
|
||||
UMask = "0077";
|
||||
WorkingDirectory = "${stateDir}";
|
||||
|
Loading…
Reference in New Issue
Block a user