···11+#!/bin/sh
22+33+# # Sets and enables heart (recommended only in daemon mode)
44+# case $RELEASE_COMMAND in
55+# daemon*)
66+# HEART_COMMAND="$RELEASE_ROOT/bin/$RELEASE_NAME $RELEASE_COMMAND"
77+# export HEART_COMMAND
88+# export ELIXIR_ERL_OPTIONS="-heart"
99+# ;;
1010+# *)
1111+# ;;
1212+# esac
1313+1414+# # Set the release to load code on demand (interactive) instead of preloading (embedded).
1515+# export RELEASE_MODE=interactive
1616+1717+# # Set the release to work across nodes.
1818+# # RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none".
1919+export RELEASE_DISTRIBUTION=sname
2020+export RELEASE_NODE=<%= @release.name %>
+8
rel/remote.vm.args.eex
···11+## Customize flags given to the VM: https://www.erlang.org/doc/man/erl.html
22+## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
33+44+## Increase number of concurrent ports/sockets
55+##+Q 65536
66+77+## Tweak GC to run more often
88+##-env ERL_FULLSWEEP_AFTER 10
+8
rel/vm.args.eex
···11+## Customize flags given to the VM: https://www.erlang.org/doc/man/erl.html
22+## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
33+44+## Increase number of concurrent ports/sockets
55+##+Q 65536
66+77+## Tweak GC to run more often
88+##-env ERL_FULLSWEEP_AFTER 10