Skip to content

Commit

Permalink
support apps that include local libs
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Jul 15, 2013
1 parent 47e2f54 commit a2fee5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/dev-start-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd `dirname $0`

export ERL_CRASH_DUMP=$(date +%s)_apps_erl_crash.dump
export ERL_LIBS=$PWD/../deps:$PWD/../core
exec erl -name whistle_apps -args_file /etc/kazoo/vm.args -pa $PWD/../applications/*/ebin -pa $PWD/../core/*/ebin -pa $PWD/../deps/*/ebin -s reloader -s whistle_apps
exec erl -name whistle_apps -args_file /etc/kazoo/vm.args -pa $PWD/../applications/*/ebin -pa $PWD/../core/*/ebin -pa $PWD/../deps/*/ebin $PWD/../deps/*/ebin $PWD/applications/*/lib/*/ebin -s reloader -s whistle_apps
2 changes: 1 addition & 1 deletion scripts/kz-generic.init
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ start() {
export HOME=${KZ_DIR}
export ERL_CRASH_DUMP=$(date +%s)_${KZ_APP}_erl_crash.dump
export ERL_LIBS=${KZ_DIR}/deps:${KZ_DIR}/core
daemon --user=${USER} "erl -name ${KZ_APP} -args_file /etc/kazoo/vm.args -pa ${KZ_DIR}/applications/*/ebin -pa ${KZ_DIR}/core/*/ebin -pa ${KZ_DIR}/deps/*/ebin -detached -s ${KZ_APP} >/dev/null &"
daemon --user=${USER} "erl -name ${KZ_APP} -args_file /etc/kazoo/vm.args -pa ${KZ_DIR}/applications/*/ebin -pa ${KZ_DIR}/core/*/ebin -pa ${KZ_DIR}/deps/*/ebin ${KZ_DIR}/applications/*/lib/*/ebin -detached -s ${KZ_APP} >/dev/null &"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch ${LOCKFILE}
Expand Down
2 changes: 1 addition & 1 deletion scripts/start-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
cd `dirname $0`
export ERL_CRASH_DUMP=$(date +%s)_apps_erl_crash.dump
export ERL_LIBS=$PWD/../deps:$PWD/../core
exec erl -name whistle_apps -args_file /etc/kazoo/vm.args -pa $PWD/../applications/*/ebin -pa $PWD/../core/*/ebin -pa $PWD/../deps/*/ebin -detached -s whistle_apps
exec erl -name whistle_apps -args_file /etc/kazoo/vm.args -pa $PWD/../applications/*/ebin -pa $PWD/../core/*/ebin -pa $PWD/../deps/*/ebin $PWD/applications/*/lib/*/ebin -detached -s whistle_apps

0 comments on commit a2fee5b

Please sign in to comment.