Remove useless and ugly hack for socket removal

tags/zabbix-3.4.11-1
Daniel Berteaud 7 years ago
parent edf3142f02
commit 095bf5b957
  1. 1
      zabbix-proxy.service
  2. 1
      zabbix-server.service

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

@ -4,7 +4,6 @@ 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