mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
zabbix-server: Add PID file to systemd config.
This is to avoid (in some cases) constant restarting of the Zabbix server, which causes odds bugs and crashes in the exit handler (if it's too early during startup). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
7cf23a740d
commit
bf28d5c109
@ -100,6 +100,7 @@ in
|
||||
serviceConfig.Type = "forking";
|
||||
serviceConfig.Restart = "always";
|
||||
serviceConfig.RestartSec = 2;
|
||||
serviceConfig.PIDFile = pidFile;
|
||||
};
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user