Skip to content

Commit

Permalink
nixos: set stopIfChanged to false (#2105)
Browse files Browse the repository at this point in the history
There is no ExecStop so we can just restart the service.
  • Loading branch information
ncfavier authored Jun 14, 2021
1 parent 25bf3d7 commit 4ed6705
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ in {

unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };

stopIfChanged = false;

serviceConfig = {
User = usercfg.home.username;
Type = "oneshot";
Expand Down

0 comments on commit 4ed6705

Please sign in to comment.