mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
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 a new issue