ubuntu upstart job to run an erlang application
Fri Nov 20 15:07:47 CET 2009
I'm trying to create an upstart job on ubuntu to start a mochiweb app called myweb.
My job looks like:
start on filesystem and net-device-up
stop on runlevel 
exec erl -noinput -pa $MYWEBPATH/ebin $MYWEBPATH/deps/*/ebin -boot
start_sasl -s myweb
When I'm trying to start the job and check its status I'm getting:
$sudo start myweb
myweb start/running, process 6682
$sudo status myweb
So my mochiweb app doesn't run.
When I'm using the start.sh script generated with the skeleton my app
Am I missing a flag in the erl command or is it something else?
More information about the erlang-questions