diff options
Diffstat (limited to 'templates/irc_bot/CentOS')
-rw-r--r-- | templates/irc_bot/CentOS/nagios-nsa.sh.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/irc_bot/CentOS/nagios-nsa.sh.erb b/templates/irc_bot/CentOS/nagios-nsa.sh.erb index a6cee66..1561afd 100644 --- a/templates/irc_bot/CentOS/nagios-nsa.sh.erb +++ b/templates/irc_bot/CentOS/nagios-nsa.sh.erb @@ -25,6 +25,8 @@ SOCKFILE=<%= nagios_nsa_socket %> [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog lockfile=/var/lock/subsys/$prog +mkdir -p /var/run/nagios-nsa 2>/dev/null +chown nagios /var/run/nagios-nsa start() { [ -x $exec ] || exit 5 |