Delete spurious sock files before starting the proxy

tags/zabbix-3.4.7-2
Daniel Berteaud 7 years ago
parent 246c1e5820
commit 5d32d43538
  1. 1
      zabbix-proxy.service

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

Loading…
Cancel
Save