nixos-module/server/lxc-containers: prevent restart on host nixos-rebuild switch
This commit is contained in:
parent
1caffb4f0f
commit
f55cb13ecf
|
@ -252,6 +252,8 @@ in
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "1s";
|
RestartSec = "1s";
|
||||||
};
|
};
|
||||||
|
# Prevent restart on host nixos-rebuild switch
|
||||||
|
restartIfChanged = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Starts all the containers after boot
|
# Starts all the containers after boot
|
||||||
|
|
Loading…
Reference in New Issue