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}"'';
User = cfg.user;
Group = cfg.group;
Restart = "on-failure";
};
postStart =
let