nixos/influxdb: restart on failure
This commit is contained in:
parent
35e4c570a6
commit
c8e61256e6
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue