nixos/influxdb: restart on failure

This commit is contained in:
Sandro Jäckel 2023-12-06 23:16:44 +01:00
parent 35e4c570a6
commit c8e61256e6
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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