[Pkg-samba-maint] r3934 - trunk/ctdb/debian
sathieu at alioth.debian.org
sathieu at alioth.debian.org
Wed Oct 19 16:45:35 UTC 2011
Author: sathieu
Date: 2011-10-19 16:45:35 +0000 (Wed, 19 Oct 2011)
New Revision: 3934
Modified:
trunk/ctdb/debian/ctdb.init
Log:
ctdb.init: reload should do nothing as it is not supported
also add force-reload and try-restart in usage
Modified: trunk/ctdb/debian/ctdb.init
===================================================================
--- trunk/ctdb/debian/ctdb.init 2011-10-18 19:38:41 UTC (rev 3933)
+++ trunk/ctdb/debian/ctdb.init 2011-10-19 16:45:35 UTC (rev 3934)
@@ -421,7 +421,7 @@
exit 0
fi
;;
- restart|reload|force-reload)
+ restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
is_running && stop_ctdbd
start_ctdbd
@@ -441,7 +441,7 @@
exit 1
fi
;;
- condrestart)
+ condrestart|try-restart)
if is_running ; then
log_daemon_msg "Restarting $DESC" "$NAME"
stop_ctdbd
@@ -463,8 +463,11 @@
fi
fi
;;
+ reload)
+ # do nothing
+ ;;
*)
- echo "Usage: \$0 {start|stop|restart|status|cron|condrestart}" >&2
+ echo "Usage: \$0 {start|stop|restart|force-reload|status|cron|condrestart|try-restart}" >&2
exit 1
;;
esac
More information about the Pkg-samba-maint
mailing list