forked from mirrors/nixpkgs
nixos/kubernetes: add missing systemd restart options
This commit is contained in:
parent
49d963855a
commit
291c809888
|
@ -64,6 +64,8 @@ in
|
|||
${cfg.extraOpts}
|
||||
'';
|
||||
WorkingDirectory = top.dataDir;
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -76,6 +76,8 @@ in
|
|||
WorkingDirectory = top.dataDir;
|
||||
User = "kubernetes";
|
||||
Group = "kubernetes";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue