Skip to content

Commit 5d10e2b

Browse files
committed
nixos/unifi: always restart service
This allows the controller to restart when restoring from a backup
1 parent e5b5cf8 commit 5d10e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/services/networking/unifi.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ in
146146
Type = "notify";
147147
ExecStart = "${cmd} start";
148148
ExecStop = "${cmd} stop";
149-
Restart = "on-failure";
149+
Restart = "always";
150150
TimeoutSec = "5min";
151151
User = "unifi";
152152
UMask = "0077";

0 commit comments

Comments
 (0)