Permalink
Browse files

new initialization script

Usage:
./start-dev node1
./start-dev node2
  • Loading branch information...
1 parent 9a27e96 commit 7652396eb2ef5a902692ae3445f481dce662e942 @videlalvaro committed Feb 6, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 start-dev.sh
View
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+NODENAME="n1"
+
+if [ $1 ]
+ then NODENAME=$1
+fi
+
+cd `dirname $0`
+exec erl -boot start_sasl -kernel dist_auto_connect once -sname $NODENAME \
+-pa ./ebin -mnesia debug trace

0 comments on commit 7652396

Please sign in to comment.