Merge pull request #272556 from SuperSandro2000/influxdb-restart

nixos/influxdb: restart on failure
This commit is contained in:
Nick Cao 2024-01-14 14:25:21 -05:00 committed by GitHub
commit 1840316647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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