From 65509fa7b81bf7abcf1ce71772232f9e738ce199 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 16 Oct 2012 02:49:37 +0200 Subject: added help text to flufigut manage script --- src/manage.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/manage.sh') diff --git a/src/manage.sh b/src/manage.sh index 29d0c85..23ea39e 100755 --- a/src/manage.sh +++ b/src/manage.sh @@ -161,8 +161,22 @@ case "$1" in sleep 1 start_all ;; + help) + echo "flufigut managemnt script by Christian Pointner " + echo "" + echo "Usage $0 [param] " + echo "" + echo "Commands:" + echo " deploy copies all configuration file to all servers and installs them" + echo " clean remove all configuration file from all servers" + echo " wipe purges all configuration files belonging to a given planet" + echo " start starts all instances on all servers (manager starts first)" + echo " stop stop all instances on all servers (manager stops last)" + echo " restart same as stop, start" + echo " help prints this" + ;; *) - echo "Usage $0 (deploy|start|stop|restart)" + echo "Usage $0 (deploy|clean|wipe|start|stop|restart|help)" exit 1 ;; esac -- cgit v1.2.3