wok-current diff nagios-nrpe/stuff/nrpe @ rev 17102

Add iptstate
author Paul Issott <paul@slitaz.org>
date Fri Aug 29 20:58:08 2014 +0100 (2014-08-29)
parents f898e6080f92
children 7f188676b59c
line diff
     1.1 --- a/nagios-nrpe/stuff/nrpe	Wed Feb 02 01:17:51 2011 +0100
     1.2 +++ b/nagios-nrpe/stuff/nrpe	Fri Aug 29 20:58:08 2014 +0100
     1.3 @@ -15,6 +15,10 @@
     1.4  OPTIONS="-n -c $CONFIG_FILE -d"
     1.5  PIDFILE=/var/run/nagios/nrpe.pid
     1.6  
     1.7 +if [ ! -d /var/run/nagios ]; then
     1.8 +	mkdir -p /var/run/nagios
     1.9 +	chown nagios.nagios /var/run/nagios
    1.10 +fi
    1.11  case "$1" in
    1.12    start)
    1.13      if active_pidfile $PIDFILE nrpe ; then