aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin.dtl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-03-21 16:28:55 +0100
committerJordan Wilberding <[email protected]>2014-03-21 16:28:55 +0100
commit356444c3c6f22f441a931cb8a30f5977e447856c (patch)
treef93c3cb6fcb8734dbbf95669781d7b5c9a76e86a /priv/templates/extended_bin.dtl
parent9e17ff5d35fbad8b4c66754c31a5397090c01ae0 (diff)
parentb8a4664f70ddac6f7f886fe10be7f57fc6f06418 (diff)
downloadrelx-356444c3c6f22f441a931cb8a30f5977e447856c.tar.gz
relx-356444c3c6f22f441a931cb8a30f5977e447856c.tar.bz2
relx-356444c3c6f22f441a931cb8a30f5977e447856c.zip
Merge pull request #152 from rlipscombe/rl-runner-log
Allow overriding RUNNER_LOG_DIR
Diffstat (limited to 'priv/templates/extended_bin.dtl')
-rw-r--r--priv/templates/extended_bin.dtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index a0e46a9..23ba9c4 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -10,6 +10,7 @@ ERTS_VSN={{ erts_vsn }}
REL_DIR=$RELEASE_ROOT_DIR/releases/$REL_VSN
ERL_OPTS={{ erl_opts }}
PIPE_DIR=/tmp/erl_pipes/{{ rel_name }}/
+RUNNER_LOG_DIR=${RUNNER_LOG_DIR:-$RELEASE_ROOT_DIR/log}
find_erts_dir() {
local erts_dir=$RELEASE_ROOT_DIR/erts-$ERTS_VSN
@@ -45,7 +46,6 @@ else
fi
fi
-RUNNER_LOG_DIR=$RELEASE_ROOT_DIR/log
# Make sure log directory exists
mkdir -p $RUNNER_LOG_DIR