3 # Source function library.
6 .
/etc
/conf.d
/zabbix-server
10 stat_busy
"Starting zabbix-server"
11 /usr
/sbin
/zabbix_server
&>/dev
/null
15 add_daemon zabbix-server
21 stat_busy
"Stopping zabbix-server"
26 for I
in `seq 1 $ZBX_STOP_TIMEOUT`; do
27 pidof zabbix_server
>/dev
/null ||
break
30 pidof zabbix_server
>/dev
/null
&& stat_fail ||
(rm_daemon zabbix-server
; stat_done
)
34 # See how we were called.
47 echo $
"Usage: zabbix-server {start|stop|restart}"