mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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 New Issue
Block a user