aboutsummaryrefslogtreecommitdiffstats
path: root/relx.config
diff options
context:
space:
mode:
authorSerge Aleynikov <[email protected]>2015-12-22 08:31:58 -0500
committerSerge Aleynikov <[email protected]>2015-12-22 10:04:05 -0500
commit5b97d6261dd667426c601f486cad0d6b1b5415aa (patch)
treea721734ba7b0a5fa839ea76ba0748d2261de37d7 /relx.config
parenta1da1e6415467c8b6ea69d279a3e7a9ed2c3b468 (diff)
downloadrelx-5b97d6261dd667426c601f486cad0d6b1b5415aa.tar.gz
relx-5b97d6261dd667426c601f486cad0d6b1b5415aa.tar.bz2
relx-5b97d6261dd667426c601f486cad0d6b1b5415aa.zip
Enhance the variable replacement
Add ability to also run shell commands contained in the sys.config. E.g.: # In this example the node name defaults to name of the release # and can be overriden at run-time, appended with current year $ head -1 vm.args -sname ${NODE_NAME:-$REL_NAME}$(date +%Y) # If the $NAME is 'abc2015', and hostname is 'MyHost', below the 'node' # parameter gets set to 'Abc2015@myhost' $ grep node sys.config {node, $(echo ${NAME^})@${HOSTNAME,,}}
Diffstat (limited to 'relx.config')
0 files changed, 0 insertions, 0 deletions