forked from mirrors/nixpkgs
Merge pull request #54600 from volth/patch-301
nixos/collectd: restart on failure
This commit is contained in:
commit
e9b5bd9813
|
@ -88,6 +88,8 @@ in {
|
|||
ExecStart = "${cfg.package}/sbin/collectd -C ${conf} -f";
|
||||
User = cfg.user;
|
||||
PermissionsStartOnly = true;
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
||||
preStart = ''
|
||||
|
|
Loading…
Reference in a new issue