mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-31 05:06:41 +00:00
fix: Change the killmode of rebuild units
This commit is contained in:
parent
4cd90d0c93
commit
025e9dcea2
|
@ -107,7 +107,7 @@ in
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${nixos-rebuild} switch --flake .#${config-id}
|
${nixos-rebuild} switch --flake .#${config-id}
|
||||||
'';
|
'';
|
||||||
KillMode = "none";
|
KillMode = "mixed";
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
@ -134,7 +134,7 @@ in
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${nixos-rebuild} switch --flake .#${config-id}
|
${nixos-rebuild} switch --flake .#${config-id}
|
||||||
'';
|
'';
|
||||||
KillMode = "none";
|
KillMode = "mixed";
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
@ -156,7 +156,7 @@ in
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${nixos-rebuild} switch --rollback --flake .#${config-id}
|
${nixos-rebuild} switch --rollback --flake .#${config-id}
|
||||||
'';
|
'';
|
||||||
KillMode = "none";
|
KillMode = "mixed";
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
Loading…
Reference in a new issue