1
0
Fork 0
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:
mithereal 2022-07-30 21:11:54 -07:00
parent 876bc2136b
commit e9cca35a54
10 changed files with 111 additions and 22 deletions

5
rel/env.bat.eex Normal file
View file

@ -0,0 +1,5 @@
@echo off
rem Set the release to work across nodes.
rem RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none".
rem set RELEASE_DISTRIBUTION=none
rem set RELEASE_NODE=<%= @release.name %>

17
rel/env.sh.eex Normal file
View 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 %>