diff options
author | Tristan Sloughter <[email protected]> | 2014-10-31 10:14:22 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-10-31 10:14:22 -0500 |
commit | 0981eb56425b0ed9e823f93c48477078c90cd5bf (patch) | |
tree | b111bee55d09783c0a06d7ea598f7b598eb98023 | |
parent | c83bbfc5f75ca8dda074ee38962a56389387b786 (diff) | |
parent | 5fa904190ff0e70661bb23cc5ad5bdc76288e5c6 (diff) | |
download | relx-0981eb56425b0ed9e823f93c48477078c90cd5bf.tar.gz relx-0981eb56425b0ed9e823f93c48477078c90cd5bf.tar.bz2 relx-0981eb56425b0ed9e823f93c48477078c90cd5bf.zip |
Merge pull request #244 from efcasado/pipes
Add support for multiple nodes running the same release
-rw-r--r-- | priv/templates/extended_bin.dtl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index abb823d..37ea504 100644 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -9,7 +9,6 @@ REL_VSN="{{ rel_vsn }}" ERTS_VSN="{{ erts_vsn }}" REL_DIR="$RELEASE_ROOT_DIR/releases/$REL_VSN" ERL_OPTS="{{ erl_opts }}" -PIPE_DIR="${PIPE_DIR:-/tmp/erl_pipes/{{ rel_name }}/}" RUNNER_LOG_DIR="${RUNNER_LOG_DIR:-$RELEASE_ROOT_DIR/log}" find_erts_dir() { @@ -122,6 +121,8 @@ case $NAME in ;; esac +PIPE_DIR="${PIPE_DIR:-/tmp/erl_pipes/$NAME/}" + # Extract the target cookie COOKIE_ARG="$(grep '^-setcookie' "$VMARGS_PATH")" if [ -z "$COOKIE_ARG" ]; then |