cachix-agent: properly handle not restarting the service
This commit is contained in:
parent
fe306509ce
commit
c7b135ac8e
@ -45,8 +45,11 @@ in {
|
||||
after = ["network-online.target"];
|
||||
path = [ config.nix.package ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
# don't restart while changing
|
||||
reloadIfChanged = true;
|
||||
restartIfChanged = false;
|
||||
unitConfig.X-StopOnRemoval = false;
|
||||
|
||||
environment.USER = "root";
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
|
Loading…
Reference in New Issue
Block a user