aboutsummaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-05-18 10:24:00 +0200
committerJordan Wilberding <[email protected]>2014-05-18 10:24:00 +0200
commit2489cb005501ca8acb5889c832cb9d9fb3c1b1f5 (patch)
tree1c8375ac845b6409d94a53a6eebe076e7691c42c /priv
parent0266fd14521e52c0500c9b8bee24bb01718a6667 (diff)
downloadrelx-2489cb005501ca8acb5889c832cb9d9fb3c1b1f5.tar.gz
relx-2489cb005501ca8acb5889c832cb9d9fb3c1b1f5.tar.bz2
relx-2489cb005501ca8acb5889c832cb9d9fb3c1b1f5.zip
Fix quoting of arguments that prevented them from being applied
Diffstat (limited to 'priv')
-rw-r--r--priv/templates/extended_bin.dtl4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 45a9e67..99014fd 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -323,7 +323,7 @@ case "$1" in
# or other supervision services
[ -f "$REL_DIR/$REL_NAME.boot" ] && BOOTFILE="$REL_NAME" || BOOTFILE=start
- FOREGROUNDOPTIONS="-noinput +Bd"
+ FOREGROUNDOPTIONS="-noshell -noinput +Bd"
# Setup beam-required vars
EMU=beam
@@ -337,7 +337,7 @@ case "$1" in
# Build an array of arguments to pass to exec later on
# Build it here because this command will be used for logging.
- set -- "$BINDIR/erlexec" "$FOREGROUNDOPTIONS" \
+ set -- "$BINDIR/erlexec" $FOREGROUNDOPTIONS \
-boot "$REL_DIR/$BOOTFILE" -mode embedded -config "$CONFIG_PATH" \
-args_file "$VMARGS_PATH"