mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 05:49:54 +01:00
OTP releases: only set name and distribution type if not set already
Fixes not being able to run two OTP releases on one machine because of the name conflict.
This commit is contained in:
parent
bd62946020
commit
4a5bb7eb02
1 changed files with 2 additions and 2 deletions
|
@ -8,5 +8,5 @@
|
|||
# fi
|
||||
|
||||
# Set the release to work across nodes
|
||||
export RELEASE_DISTRIBUTION=name
|
||||
export RELEASE_NODE=<%= @release.name %>@127.0.0.1
|
||||
export RELEASE_DISTRIBUTION="${RELEASE_DISTRIBUTION:-name}"
|
||||
export RELEASE_NODE="${RELEASE_NODE:-<%= @release.name %>@127.0.0.1}"
|
||||
|
|
Loading…
Reference in a new issue