add k3s restarter
This commit is contained in:
parent
4a1dcc3de8
commit
273bfcc418
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ in
|
|||
disable = [];
|
||||
};
|
||||
|
||||
systemd.services.k3s.restartTriggers = [
|
||||
(builtins.attrNames config.services.k3s.manifests)
|
||||
];
|
||||
|
||||
system.activationScripts.cleanK3sManifests = {
|
||||
text = ''
|
||||
MANIFESTS_DIR="/var/lib/rancher/k3s/server/manifests"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue