Skip to content
Browse files

updated other control scripts

  • Loading branch information...
1 parent 0b65b17 commit 1a40c3254fd69fd2b3ebd72c9158526385cfd048 James Aimonetti committed
View
2 applications/conf/vm.args
@@ -1,6 +1,6 @@
# Each node in the system must have a unique name. We recommend running with
# -name and a fqdn
--name ecallmgr
+-name whistle_apps
# Inter-node communication requires each node to have the same cookie
# Comment this line out if you use ~/.erlang.cookie to manage your cookie
View
4 applications/conn-to-apps.sh
@@ -22,4 +22,6 @@ if [[ ! "$REMOTE_SHELL" == *@* ]]; then
REMOTE_SHELL="${REMOTE_SHELL}@`hostname`"
fi
-exec erl -setcookie `cat ../confs/fs_conf/autoload_configs/.erlang.cookie` -name ${SHELL_NAME} -remsh ${REMOTE_SHELL}
+ERL_COOKIE=`grep "setcookie" conf/vm.args`
+
+exec erl $ERL_COOKIE -name ${SHELL_NAME} -remsh ${REMOTE_SHELL}
View
4 applications/whistle_apps_ctl
@@ -13,12 +13,12 @@ cd `dirname $0`
export ERL_LIBS=$PWD/../lib/
EBIN=$PWD/ebin
-COOKIE_FILE=$PWD/../confs/fs_conf/autoload_configs/.erlang.cookie
+ERL_COOKIE=`grep "setcookie" conf/vm.args`
exec erl \
-pa $EBIN \
-name whappsctl@`hostname` \
- -setcookie `cat $COOKIE_FILE` \
+ $ERL_COOKIE \
+Bd \
-noshell \
-mode interactive \
View
3 ecallmgr/conf/vm.args
@@ -18,9 +18,6 @@
# Start a pool of asynchronous IO threads
+A 8
-# Restart the VM if it dies
--heart
-
# Comment this line out if you want the Erlang shell
+Bd
View
4 ecallmgr/conn-to-ecallmgr.sh
@@ -22,4 +22,6 @@ if [[ ! "$REMOTE_SHELL" == *@* ]]; then
REMOTE_SHELL="${REMOTE_SHELL}@`hostname`"
fi
-exec erl -setcookie `cat ../confs/fs_conf/autoload_configs/.erlang.cookie` -name ${SHELL_NAME} -remsh ${REMOTE_SHELL}
+ERL_COOKIE=`grep "setcookie" conf/vm.args`
+
+exec erl $ERL_COOKIE -name ${SHELL_NAME} -remsh ${REMOTE_SHELL}
View
7 ecallmgr/ecallmgr_ctl
@@ -14,14 +14,13 @@ export ERL_LIBS=$PWD/../lib/
EBIN=ebin
DIAG_EBIN=$PWD/../utils/diagnostics/ebin
-COOKIE_FILE=$PWD/../confs/fs_conf/autoload_configs/.erlang.cookie
+ERL_COOKIE=`grep "setcookie" conf/vm.args`
NODENAME=ecallmgrctl@`hostname -f`
exec erl \
- -pa $EBIN \
- -pa $DIAG_EBIN \
+ -pa $EBIN $DIAG_EBIN \
-name $NODENAME \
- -setcookie `cat $COOKIE_FILE` \
+ $ERL_COOKIE \
+Bd \
-noshell \
-mode interactive \
View
2 ecallmgr/start.sh
@@ -3,4 +3,4 @@
cd `dirname $0`
export ERL_LIBS=$PWD/../lib
-exec erl -args_file $PWD/conf/vm.args -pa $PWD/ebin -detached -s reloader -s ecallmgr
+exec erl -args_file $PWD/conf/vm.args -pa $PWD/ebin -heart -detached -s reloader -s ecallmgr

0 comments on commit 1a40c32

Please sign in to comment.
Something went wrong with that request. Please try again.