aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-01-27 07:49:52 -0800
committerTristan Sloughter <[email protected]>2014-01-27 07:49:52 -0800
commitb977e765d63b9fc48bce08ef5c0f1b7993f34ae6 (patch)
tree0b914da356e766ed24001f9ba3ba671c6e1d0390
parent182b00e2d6099386a1a8586c0b93ea0371c67848 (diff)
parent7710385f66abec33cf15a3c7c22e030c1aefc2f5 (diff)
downloadrelx-b977e765d63b9fc48bce08ef5c0f1b7993f34ae6.tar.gz
relx-b977e765d63b9fc48bce08ef5c0f1b7993f34ae6.tar.bz2
relx-b977e765d63b9fc48bce08ef5c0f1b7993f34ae6.zip
Merge pull request #117 from soundrop/fix/foreground-embedded-mode
Run the node embedded mode when in foreground
-rw-r--r--src/rlx_prv_assembler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 408b6d0..3afe617 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -986,7 +986,7 @@ case \"$1\" in
# Setup beam-required vars
EMU=beam
PROGNAME=`echo $0 | sed 's/.*\\///'`
- CMD=\"$BINDIR/erlexec $FOREGROUNDOPTIONS -boot $REL_DIR/$BOOTFILE -config $CONFIG_PATH -args_file $VMARGS_PATH\"
+ CMD=\"$BINDIR/erlexec $FOREGROUNDOPTIONS -boot $REL_DIR/$BOOTFILE -mode embedded -config $CONFIG_PATH -args_file $VMARGS_PATH\"
export EMU
export PROGNAME