summaryrefslogtreecommitdiff
path: root/network/zabbix_agentd/rc.zabbix_agentd
diff options
context:
space:
mode:
authorMichal Bialozor <bialyy@o2.pl>2013-10-25 23:19:11 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:38:50 -0500
commit78347f0add26a25d5a86b0f1ed55f0f9104f6193 (patch)
treec73359cc3c2a333646367549030c4a553d849ea3 /network/zabbix_agentd/rc.zabbix_agentd
parent6b822f86419a8158f8d2bbd46758b5c57dbdcc48 (diff)
downloadslackbuilds-78347f0add26a25d5a86b0f1ed55f0f9104f6193.tar.gz
network/zabbix_agentd: Updated for version 2.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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=$?