Permalink
Browse files

Change vertebractl to use the same commands that ejabberdctl does

  • Loading branch information...
1 parent e550c12 commit c1490cf56b4cc2be83521ab06e11c3a6763cf7d6 Samuel Tesla committed Feb 11, 2009
Showing with 4 additions and 4 deletions.
  1. +1 −1 README
  2. +3 −3 src/vertebractl.in
View
@@ -18,7 +18,7 @@ To launch an application (e.g. herault):
To launch an application in debug mode (e.g. herault):
- $ bin/vertebractl herault run
+ $ bin/vertebractl herault live
== Installation
View
@@ -2,7 +2,7 @@
usage()
{
- echo "$(basename $0) app-name [start|stop|run|initdb]"
+ echo "$(basename $0) app-name [start|stop|live|initdb]"
echo "$(basename $0) app-name [started|waitfor] erlang-app"
}
@@ -81,7 +81,7 @@ initdb()
-s init stop $@
}
-run()
+live()
{
if [ ! -d $MNESIA_DIR ]; then
initdb
@@ -106,7 +106,7 @@ ctl()
case $CMD in
start) start $ARGS;;
initdb) initdb $ARGS;;
- run) run $ARGS;;
+ live) live $ARGS;;
'') usage;;
*) ctl $CMD $ARGS;;
esac

0 comments on commit c1490cf

Please sign in to comment.