1
0
Fork 1
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:
Marek Mahut 2019-08-26 02:22:03 +02:00 committed by Wael Nasreddine
parent e3a6b8f31f
commit 81fe072a8f

View file

@ -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}";