;;
esac
+ return $retval
}
start|stop|status|restart|force-reload)
$1
;;
+ try-restart)
+ status && restart
+ ;;
*)
- echo "Usage: $0 {start|stop|status|restart|force-reload}"
+ echo "Usage: $0 {start|stop|status|restart|try-restart|force-reload}"
exit 2
esac
exit $?