Merge pull request #272556 from SuperSandro2000/influxdb-restart
nixos/influxdb: restart on failure
This commit is contained in:
commit
1840316647
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ in
|
||||||
ExecStart = ''${cfg.package}/bin/influxd -config "${configFile}"'';
|
ExecStart = ''${cfg.package}/bin/influxd -config "${configFile}"'';
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
postStart =
|
postStart =
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue