summaryrefslogtreecommitdiff
path: root/network/zabbix_agentd/rc.zabbix_agentd
diff options
context:
space:
mode:
authorMichal Bialozor <bialyy@o2.pl>2012-12-23 09:22:02 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-23 09:22:20 +0100
commitaefc350250d96dea417c40f2667075b7d5614aa9 (patch)
tree4fba893ecd685b7bff5755255a26338384690ab5 /network/zabbix_agentd/rc.zabbix_agentd
parentc23d5541e966e7ae99f94849f37017a96e02d2fc (diff)
downloadslackbuilds-aefc350250d96dea417c40f2667075b7d5614aa9.tar.gz
network/zabbix_agentd: Updated for version 1.8.15, cleanups.
(switched to new zabbixagent user http://bit.ly/TeN72F --ponce) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/zabbix_agentd/rc.zabbix_agentd')
-rw-r--r--network/zabbix_agentd/rc.zabbix_agentd2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/zabbix_agentd/rc.zabbix_agentd b/network/zabbix_agentd/rc.zabbix_agentd
index bbe5650698..c015089c34 100644
--- a/network/zabbix_agentd/rc.zabbix_agentd
+++ b/network/zabbix_agentd/rc.zabbix_agentd
@@ -17,7 +17,7 @@ prg_start() {
rm -f ${PIDDIR}${PRGNAM}.pid
fi
fi
- ${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1
+ su - @ZABBIXUSER@ -c "${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1"
RETVAL=$?
if [ $RETVAL -eq 0 ]; then