mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 10:26:36 +00:00
run as local service
This commit is contained in:
parent
876bc2136b
commit
e9cca35a54
10 changed files with 111 additions and 22 deletions
17
rel/env.sh.eex
Normal file
17
rel/env.sh.eex
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Sets and enables heart (recommended only in daemon mode)
|
||||
# case $RELEASE_COMMAND in
|
||||
# daemon*)
|
||||
# HEART_COMMAND="$RELEASE_ROOT/bin/$RELEASE_NAME $RELEASE_COMMAND"
|
||||
# export HEART_COMMAND
|
||||
# export ELIXIR_ERL_OPTIONS="-heart"
|
||||
# ;;
|
||||
# *)
|
||||
# ;;
|
||||
# esac
|
||||
|
||||
# Set the release to work across nodes.
|
||||
# RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none".
|
||||
export RELEASE_DISTRIBUTION=none
|
||||
# export RELEASE_NODE=<%= @release.name %>
|
Loading…
Add table
Add a link
Reference in a new issue