fix nixos stoping k3s
This commit is contained in:
parent
da9aa399e1
commit
ca8d2c7262
1 changed files with 7 additions and 4 deletions
|
|
@ -39,10 +39,13 @@ in
|
|||
disable = [];
|
||||
};
|
||||
|
||||
systemd.services.k3s.restartTriggers = [
|
||||
(builtins.attrNames config.services.k3s.manifests)
|
||||
];
|
||||
|
||||
systemd.services.k3s = {
|
||||
restartTriggers = [
|
||||
(builtins.attrNames config.services.k3s.manifests)
|
||||
];
|
||||
stopIfChanged = false;
|
||||
};
|
||||
|
||||
system.activationScripts.cleanK3sManifests = {
|
||||
text = ''
|
||||
MANIFESTS_DIR="/var/lib/rancher/k3s/server/manifests"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue