diff --git a/zabbix-server.service b/zabbix-server.service index ef817c7..ab8db6d 100644 --- a/zabbix-server.service +++ b/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