Changed files:
cancd.init -> 1.5
+condrestart() {
+ if [ -f /var/lock/subsys/cancd ]; then
+ stop
+ start
+ else
+ msg_not_running cancd
+ RETVAL=$1
+ fi
+}
+
RETVAL=0
# See how we were called.
case "$1" in
RETVAL=0
# See how we were called.
case "$1" in
+ try-restart)
+ condrestart 0
+ ;;
+ force-reload)
+ condrestart 7
+ ;;
status)
status cancd
RETVAL=$?
;;
*)
status)
status cancd
RETVAL=$?
;;
*)
- msg_usage "$0 {start|stop|restart|force-reload|status}"
+ msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"