3
0
Fork 0
forked from mirrors/nixpkgs

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