nixos/lxd-agent: prevent restarting on change

This commit is contained in:
Adam Stephens 2023-10-09 23:54:53 -04:00
parent 514b109a31
commit eb221a898f
No known key found for this signature in database

View file

@ -61,6 +61,7 @@ in {
preStart = preStartScript;
# avoid killing nixos-rebuild switch when executed through lxc exec
restartIfChanged = false;
stopIfChanged = false;
unitConfig = {