]> git.pld-linux.org Git - packages/ejabberd.git/commitdiff
- give ejabberd time to shut down on restart and force-reload
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 1 Sep 2004 09:25:01 +0000 (09:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ejabberd.init -> 1.2

ejabberd.init

index f9f8055361695a02f7561ee7c6e05182034c1266..a6dc9549008f95d44d1f745eed2632d99eefc40a 100644 (file)
@@ -50,6 +50,7 @@ case "$1" in
         ;;
   restart)
         $0 stop
+       sleep 2
        $0 start
         ;;
   reload)
@@ -63,7 +64,7 @@ case "$1" in
        fi
        ;;
   force-reload)
-       $0 stop && $0 start
+       $0 stop && sleep 2 && $0 start
        ;;
   status)
        EPMDOUT=`/usr/lib/erlang/bin/epmd -names`
This page took 0.10199 seconds and 4 git commands to generate.