[erlang-questions] problem running escript upon linux startup
Tue May 12 19:56:52 CEST 2009
Roger Critchlow wrote:
> I believe that the %%! -env setting in the script takes place too late
> to satisfy the erlang runtime.
> If the script is being launched from another script, inside
> /etc/rc.local, then try this:
> HOME=/root path-to-escript
I think it could be argued that it's a bug that erlexec requires HOME
to be set. There are no valid reasons for that.
More information about the erlang-questions