]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
do a full restart in init cron call
authorAndrew Tridgell <tridge@samba.org>
Sun, 3 Jun 2007 00:29:57 +0000 (10:29 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 3 Jun 2007 00:29:57 +0000 (10:29 +1000)
(This used to be ctdb commit ed181dce8f307bd8f36de42351d04f39b2396836)

ctdb/config/ctdb.init

index b0e33cf79f953794866295c8ac6e92b24e60da65..b0735a96ea00a0a9c31b506b317b6e3887087f5b 100755 (executable)
@@ -127,7 +127,7 @@ case "$1" in
        ;;
   cron)
        # used from cron to auto-restart ctdb
-       ctdb status > /dev/null || start
+       ctdb status > /dev/null || restart
        ;;
   *)
        echo $"Usage: $0 {start|stop|restart|status|cron|condrestart}"