Skip to content

Commit

Permalink
nixos/unifi: always restart service
Browse files Browse the repository at this point in the history
This allows the controller to restart when restoring from a backup
  • Loading branch information
qubitnano committed Dec 4, 2024
1 parent e5b5cf8 commit 5d10e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/unifi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ in
Type = "notify";
ExecStart = "${cmd} start";
ExecStop = "${cmd} stop";
Restart = "on-failure";
Restart = "always";
TimeoutSec = "5min";
User = "unifi";
UMask = "0077";
Expand Down

0 comments on commit 5d10e2b

Please sign in to comment.