blob: 365fa1890fb94a219fd091b3bc5105426c1e0d3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
# Sets and enables heart (recommended only in daemon mode)
case $RELEASE_COMMAND in
daemon*)
export HEART_COMMAND="$RELEASE_ROOT/bin/$RELEASE_NAME $RELEASE_COMMAND"
export ELIXIR_ERL_OPTIONS="-heart"
;;
*)
;;
esac
# Set the release to work across nodes. If using the long name format like
# the one below (my_app@127.0.0.1), you need to also uncomment the
# RELEASE_DISTRIBUTION variable below.
export RELEASE_DISTRIBUTION=name
export RELEASE_NODE="<%= @release.name %>@0.0.0.0"
|