summaryrefslogtreecommitdiff
path: root/network/zabbix_agentd/rc.zabbix_agentd
diff options
context:
space:
mode:
Diffstat (limited to 'network/zabbix_agentd/rc.zabbix_agentd')
-rw-r--r--network/zabbix_agentd/rc.zabbix_agentd1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/zabbix_agentd/rc.zabbix_agentd b/network/zabbix_agentd/rc.zabbix_agentd
index c4dec471ea..bd300d999d 100644
--- a/network/zabbix_agentd/rc.zabbix_agentd
+++ b/network/zabbix_agentd/rc.zabbix_agentd
@@ -17,6 +17,7 @@ prg_start() {
rm -f ${PIDDIR}${PRGNAM}.pid
fi
fi
+ mkdir -p ${PIDDIR}
su -s /bin/sh -c "${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1" @ZABBIXAGENTUSER@
RETVAL=$?