From 5fa904190ff0e70661bb23cc5ad5bdc76288e5c6 Mon Sep 17 00:00:00 2001 From: Enrique Fernandez Date: Thu, 30 Oct 2014 10:53:10 +0100 Subject: Add support for multiple nodes running the same release --- priv/templates/extended_bin.dtl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'priv/templates') 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 -- cgit v1.2.3