Mon Apr 26 17:20:26 CEST 2004
Under the erts/bin directory of your erlang installation should be a
start.src file which can be modified to suit your needs.
Looks like this:
# This program invokes the erlang emulator by calling run_erl.
# It should only be used at an embedded target system.
# It should be modified to give the correct flags to erl (via
# e.g -mode embedded -sname XXX
# Usage: start [Data]
if [ -z "$RELDIR" ]
$ROOTDIR/bin/run_erl -daemon /tmp/%NAME% $ROOTDIR/log "exec
$ROOTDIR/bin/start_erl $ROOTDIR $RELDIR $START_ERL_DATA -mode embedded
-sname %NAME% -setcookie %COOKIE%" > /dev/null 2>&1 &
On 26 Apr 2004, at 15:07, Jeffrey M. Einhorn wrote:
> I created boot and script files that rely on the $ROOT var as part of
> the paths to my erlang libraries, but I could not figure out how to set
> the $ROOT variable from the startup script. I tried setting a $ROOT
> environment variable and I tried passing different parameters to
> -boot_var option to the startup script.
> thanks for your time,
> -jeff einhorn
More information about the erlang-questions