Make sure socket files are removed before starting

tags/zabbix-3.4.4-3
Daniel Berteaud 7 years ago
parent 0ca8343c77
commit 19d99ff5e8
  1. 1
      zabbix-server.service

@ -4,6 +4,7 @@ After=syslog.target network.target
[Service]
Type=forking
ExecStartPre=/bin/rm -f /var/run/zabbix/zabbix_server_*.sock
ExecStart=/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
ExecReload=/usr/sbin/zabbix_server -R config_cache_reload
PIDFile=/var/run/zabbix/zabbix_server.pid

Loading…
Cancel
Save