3
0
Fork 0
forked from mirrors/nixpkgs

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:
aszlig 2013-06-13 01:56:09 +02:00
parent 7cf23a740d
commit bf28d5c109
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -100,6 +100,7 @@ in
serviceConfig.Type = "forking";
serviceConfig.Restart = "always";
serviceConfig.RestartSec = 2;
serviceConfig.PIDFile = pidFile;
};
};