summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-10-16 02:49:37 +0200
committerChristian Pointner <equinox@spreadspace.org>2012-10-16 02:49:37 +0200
commit65509fa7b81bf7abcf1ce71772232f9e738ce199 (patch)
tree65a31ec6a85e53ed8a05ed305aea36d15a09f4bf
parentwipe works now (diff)
added help text to flufigut manage script
-rwxr-xr-xsrc/manage.sh16
1 files changed, 15 insertions, 1 deletions
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 <equinox@spreadspace.org>"
+ echo ""
+ echo "Usage $0 <command> [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 <planet> 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