2019-06-08 15:15:49 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Sets and enables heart (recommended only in daemon mode)
|
|
|
|
# if [ "$RELEASE_COMMAND" = "daemon" ] || [ "$RELEASE_COMMAND" = "daemon_iex" ]; then
|
|
|
|
# HEART_COMMAND="$RELEASE_ROOT/bin/$RELEASE_NAME $RELEASE_COMMAND"
|
|
|
|
# export HEART_COMMAND
|
|
|
|
# export ELIXIR_ERL_OPTIONS="-heart"
|
|
|
|
# fi
|
|
|
|
|
|
|
|
# Set the release to work across nodes
|
2019-11-22 16:58:39 +00:00
|
|
|
export RELEASE_DISTRIBUTION="${RELEASE_DISTRIBUTION:-name}"
|
|
|
|
export RELEASE_NODE="${RELEASE_NODE:-<%= @release.name %>@127.0.0.1}"
|