wok rev 1960

Openldap: wait 2 seconds after slapd start
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 31 15:41:11 2008 +0000 (2008-12-31)
parents 2287993c1dc7
children 15e7c2f0e04c
files openldap/stuff/etc/init.d/openldap
line diff
     1.1 --- a/openldap/stuff/etc/init.d/openldap	Wed Dec 31 12:58:29 2008 +0000
     1.2 +++ b/openldap/stuff/etc/init.d/openldap	Wed Dec 31 15:41:11 2008 +0000
     1.3 @@ -21,7 +21,7 @@
     1.4        exit 1
     1.5      fi
     1.6      echo -n "Starting $DESC: $NAME... "
     1.7 -    $DAEMON $OPTIONS
     1.8 +    $DAEMON $OPTIONS && sleep 2
     1.9      status
    1.10      ;;
    1.11    stop)
    1.12 @@ -41,7 +41,7 @@
    1.13      echo -n "Restarting $DESC: $NAME... "
    1.14      kill `cat $PIDFILE`
    1.15      sleep 2
    1.16 -    $DAEMON $OPTIONS
    1.17 +    $DAEMON $OPTIONS && sleep 2
    1.18      status
    1.19      ;;
    1.20    *)