3 # Source function library.
9 stat_busy
"Starting zabbix-agent"
10 mkdir
-p /var
/log
/zabbix
11 mkdir
-p /var
/run
/zabbix
12 chown
-R zabbix
:zabbix
/var
/log
/zabbix
/var
/run
/zabbix
13 /usr
/sbin
/zabbix_agentd
&>/dev
/null
17 add_daemon zabbix_agentd
23 stat_busy
"Stopping zabbix-agent"
28 rm_daemon zabbix_agentd
33 # See how we were called.
46 echo $
"Usage: zabbix-agent {start|stop|restart}"