Initialize release files
This commit is contained in:
parent
e69db66be8
commit
4f9e165d9b
3 changed files with 35 additions and 0 deletions
6
rel/env.bat.eex
Normal file
6
rel/env.bat.eex
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
@echo off
|
||||||
|
rem Set the release to work across nodes. If using the long name format like
|
||||||
|
rem the one below (my_app@127.0.0.1), you need to also uncomment the
|
||||||
|
rem RELEASE_DISTRIBUTION variable below. Must be "sname", "name" or "none".
|
||||||
|
rem set RELEASE_DISTRIBUTION=name
|
||||||
|
rem set RELEASE_NODE=<%= @release.name %>@127.0.0.1
|
18
rel/env.sh.eex
Normal file
18
rel/env.sh.eex
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/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. 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. Must be "sname", "name" or "none".
|
||||||
|
# export RELEASE_DISTRIBUTION=name
|
||||||
|
# export RELEASE_NODE=<%= @release.name %>@127.0.0.1
|
11
rel/vm.args.eex
Normal file
11
rel/vm.args.eex
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
## Customize flags given to the VM: http://erlang.org/doc/man/erl.html
|
||||||
|
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
|
||||||
|
|
||||||
|
## Number of dirty schedulers doing IO work (file, sockets, and others)
|
||||||
|
##+SDio 5
|
||||||
|
|
||||||
|
## Increase number of concurrent ports/sockets
|
||||||
|
##+Q 65536
|
||||||
|
|
||||||
|
## Tweak GC to run more often
|
||||||
|
##-env ERL_FULLSWEEP_AFTER 10
|
Loading…
Reference in a new issue