Age | Commit message (Collapse) | Author |
|
Fix .orig rename commands in bin_windows
1. .orig was being prepended second argument rather than appended to the
first argument
2. Windows' ren command expects the second argument to be just a file
name (not contain drive or path components)
3. Tidy up appending of .orig, place inside double quotes rather than
outside of quotes.
This matches the usage a few lines later:
@if exist "%rel_dir%\%rel_name%.boot" (
Copy rename commands from bin_windows to extended_bin_windows.
|
|
run named erl nodes to auto-set cookie
|
|
Enable passing arguments with spaces to extensions
|
|
|
|
Don't write to release bin/ directory
|
|
fix handling of default_release in config
|
|
fix example config
|
|
When no release specified in cli, prevent overwriting default_release
in relx config.
|
|
|
|
|
|
Let the user provide writable $ROOTDIR/tmp so it can be used
for temporary files
|
|
Run start script hook also on console/foreground
|
|
|
|
|
|
|
|
windows template - using %hostname% in service install
|
|
|
|
Check for pipe write permission on start
|
|
A common pitfall when starting up Erlang nodes is to
start them as root and then fail silently when switching
to another user, improve this by providing a helpful error
message when this happens.
|
|
upgrade cf and bbmustache deps
|
|
Add Travis CI on OTP 21
|
|
|
|
|
|
only copy mode and time attributes when copying files
|
|
|
|
- if the hostname is set in the vm.args file, preserve it
- if it is not set, try to set it from env vars
- if the env vars are not set, leave it blank
|
|
* 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 -- ...
|
|
* support for OTP21's sys.config.src file in releases
* always replace os vars in .src files if found
* support vm_args_src to be consistent with sys_config_src
* add newlines after warning logs
* improve sys and vm src config tests
|
|
|
|
|
|
To prevent further regressions such as the one found in
erlware/relx#627.
|
|
|
|
rebar3 has dropped support for these so relx
needs to go along with the program.
|
|
Fix backup file creation by sed
|
|
|
|
|
|
Extend adding extra args from vm.args to install_upgrade.escript
|
|
|
|
Add extra args from vm.args into escripts and erl
|
|
|
|
upgrade erlware_commons to 1.0.5
|
|
|
|
Clarify that extension scripts shall exit
|
|
|
|
Revert "Only print lines for os var that are set"
|
|
|
|
Windows: support remote_console, fix attach
|
|
On Linux, 'attach' uses named pipes, and 'remote_console' uses -remsh.
The latter is usually deemed better since named pipes require a call to
fsync on every line written.
On Windows, no named pipes are available so attach uses -remsh directly.
Historically, remote_console was added to linux *after* attach, but no
alias was added for it on windows. Since there's a predominance of
tutorials using linux-likes, remote_console is widely documented as the
way to go, and is unavailable on windows.
This is hella confusing.
So to work around that, this patch adds an alias for 'attach' on windows
to be 'remote_console', bridging the gap.
Also the functionality was flat out broken because it would not use a
node hostname when connecting out. Since the latest release added that
functionality, this patch also fixes attach to work in the first place.
|
|
upgrade erlware_commons to 1.0.4
|
|
|