[erlang-questions] ubuntu upstart job to run an erlang application
Pablo Platt
pablo.platt@REDACTED
Sat Nov 21 15:02:23 CET 2009
That works!
I've added
export HOME=/root
Do I also need to add the erlang cookie dir to the PATH and export it?
Do I need to add flags to erl?
Thanks
________________________________
From: Colm Dougan <colm.dougan@REDACTED>
To: Pablo Platt <pablo.platt@REDACTED>
Cc: erlang-questions@REDACTED
Sent: Fri, November 20, 2009 8:59:20 PM
Subject: Re: [erlang-questions] ubuntu upstart job to run an erlang application
On Fri, Nov 20, 2009 at 2:07 PM, Pablo Platt <pablo.platt@REDACTED> wrote:
>
> So my mochiweb app doesn't run.
> When I'm using the start.sh script generated with the skeleton my app
> run fine.
Is the 'HOME' environment variable defined? This is a gotcha I've run
into in the past.
colm@REDACTED:~$ env - erl
erlexec: HOME must be set
However :
colm@REDACTED:~$ env - HOME="/home/colm" erl
Eshell V5.6.5 (abort with ^G)
1>
Colm
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
More information about the erlang-questions
mailing list