wok diff ndoutils/stuff/etc/init.d/ndo2db @ rev 19588

Up node (6.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 28 14:42:27 2016 +0100 (2016-12-28)
parents 4baffb6d5d2a
children
line diff
     1.1 --- a/ndoutils/stuff/etc/init.d/ndo2db	Thu Feb 17 23:12:37 2011 +0100
     1.2 +++ b/ndoutils/stuff/etc/init.d/ndo2db	Wed Dec 28 14:42:27 2016 +0100
     1.3 @@ -90,6 +90,10 @@
     1.4     exit 1
     1.5  fi
     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  # See how we were called.
    1.12  case "$1" in
    1.13