Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (19 sloc) 0.626 kB
#!/bin/sh
# Copyright (c) 2010, NorthScale, Inc.
# All rights reserved.
cd `dirname $0`
mkdir logs > /dev/null 2>&1
# Initialize distributed erlang on the system (i.e. epmd)
if [ -z "$DONT_START_EPMD" ]; then
erl -noshell -setcookie nocookie -sname init -run init stop 2>&1 > /dev/null
fi
exec erl \
+A 16 \
-pa `find . -type d -name ebin` \
-setcookie nocookie \
-run ns_bootstrap \
-ns_server error_logger_mf_dir '"logs"' \
-ns_server error_logger_mf_maxbytes 10485760 \
-ns_server error_logger_mf_maxfiles 10 \
-kernel inet_dist_listen_min 21100 inet_dist_listen_max 21199 \
-- "$@"
Jump to Line
Something went wrong with that request. Please try again.