瀏覽代碼

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.
tags/v1.1.7^2
rinpatch 4 年之前
父節點
當前提交
b7370ab513
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      rel/env.sh.eex

+ 2
- 2
rel/env.sh.eex 查看文件

@@ -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…
取消
儲存