mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nixos/influxdb: restart on failure
This commit is contained in:
parent
35e4c570a6
commit
c8e61256e6
@ -161,6 +161,7 @@ in
|
||||
ExecStart = ''${cfg.package}/bin/influxd -config "${configFile}"'';
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
Restart = "on-failure";
|
||||
};
|
||||
postStart =
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user