mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: ensure that influxdb2 is restarted for token manipulation
This commit is contained in:
parent
5eacb319db
commit
ad0164c787
2 changed files with 3 additions and 5 deletions
|
@ -100,8 +100,6 @@ in {
|
|||
|
||||
environment.systemPackages = [pkgs.influxdb2-cli];
|
||||
|
||||
systemd.services.influxdb2 = {
|
||||
after = ["sys-subsystem-net-devices-${utils.escapeSystemdPath "proxy-sentinel"}.device"];
|
||||
serviceConfig.RestartSec = "600"; # Retry every 10 minutes
|
||||
};
|
||||
# Do NOT configure RestartSec here, this must be left short to allow token manipulation
|
||||
systemd.services.influxdb2.after = ["sys-subsystem-net-devices-${utils.escapeSystemdPath "proxy-sentinel"}.device"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue