Rev 440: do a full restart in init cron call in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Sun Jun 3 00:29:58 GMT 2007


------------------------------------------------------------
revno: 440
revision-id: tridge at samba.org-20070603002957-gw0nyg6k8d1wzavy
parent: tridge at samba.org-20070603002914-oycc73iztdrrq6g9
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sun 2007-06-03 10:29:57 +1000
message:
  do a full restart in init cron call
modified:
  config/ctdb.init               ctdb.init-20070527204758-biuh7znabuwan3zn-6
=== modified file 'config/ctdb.init'
--- a/config/ctdb.init	2007-06-02 09:40:07 +0000
+++ b/config/ctdb.init	2007-06-03 00:29:57 +0000
@@ -127,7 +127,7 @@
 	;;
   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}"



More information about the samba-cvs mailing list