diff options
author | Michael Santos <[email protected]> | 2018-06-15 15:27:40 -0400 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2018-06-15 13:27:40 -0600 |
commit | cc85c34d483539acbf4f249b6add7c20de29f39d (patch) | |
tree | ef21caaebfe3206b13a5a24512a99be1dec65223 /test/data | |
parent | ee477fb31ad9a7603aaea8922aaa9ecd3712ee2d (diff) | |
download | relx-cc85c34d483539acbf4f249b6add7c20de29f39d.tar.gz relx-cc85c34d483539acbf4f249b6add7c20de29f39d.tar.bz2 relx-cc85c34d483539acbf4f249b6add7c20de29f39d.zip |
Start script (#635)
* templates/bin: replace process with erlexec
Similar to templates/extended_bin, use "exec" to avoid leaving an extra
shell process running.
* template/{bin,extended_bin}: set program name
Set the program name to the script name in process lists using the same
method as escripts. The program name can be overriden by setting the
ESCRIPT_NAME environment variable:
# before
msantos 10428 9554 49 10:33 pts/25 00:00:01 /usr/local/lib/erlang/erts-9.2/bin/beam.smp -Bd -- ...
# after
msantos 10054 9554 32 10:33 pts/25 00:00:01 /home/msantos/src/erlang/appname/_build/default/rel/appname/bin/appname -Bd -- ...
# ESCRIPT_NAME="foo"
msantos 11254 9554 32 10:35 pts/25 00:00:01 foo -Bd -- ...
Diffstat (limited to 'test/data')
0 files changed, 0 insertions, 0 deletions