aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-02-08Fix renaming of .orig configuration files on WindowsMichael Taylor
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.
2019-01-31Merge pull request #678 from aeternity/uw-auto-set-cookieLuis Rascão
run named erl nodes to auto-set cookie
2019-01-22Merge pull request #682 from lucafavatella/extensions-spacesLuis Rascão
Enable passing arguments with spaces to extensions
2019-01-16Enable passing arguments with spaces to extensionsLuca Favatella
2019-01-03Merge pull request #677 from eldarko/masterv3.28.0Luis Rascão
Don't write to release bin/ directory
2019-01-03Merge pull request #679 from aboroska/fix-default-releaseLuis Rascão
fix handling of default_release in config
2019-01-03Merge pull request #680 from aboroska/fix-exampleLuis Rascão
fix example config
2018-12-31fix handling of default_release in configAndrás Boroska
When no release specified in cli, prevent overwriting default_release in relx config.
2018-12-31fix example configAndrás Boroska
2018-11-27run named erl nodes to auto-set cookieUlf Wiger
2018-11-19Don't write to release bin/ directoryeldarko
Let the user provide writable $ROOTDIR/tmp so it can be used for temporary files
2018-10-11Merge pull request #665 from lrascao/start_hooks_on_console_foregroundLuis Rascão
Run start script hook also on console/foreground
2018-10-11Prevent double hook invocation on 'start' commandLuis Rascao
2018-10-11Capture internal start script argumentsLuis Rascao
2018-10-05support tuples in overlay_vars so rebar3 can pass variables (#672)v3.27.0Tristan Sloughter
2018-09-20Merge pull request #670 from shamis/masterLuis Rascão
windows template - using %hostname% in service install
2018-09-19using %hostname% in service installshamis
2018-08-16Merge pull request #669 from lrascao/test_erl_pipe_write_permissionLuis Rascão
Check for pipe write permission on start
2018-08-09Check for pipe write permission on start/attachLuis Rascao
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.
2018-06-24Merge pull request #663 from tsloughter/up-depsLuis Rascão
upgrade cf and bbmustache deps
2018-06-24Merge pull request #662 from lrascao/travis_otp21Luis Rascão
Add Travis CI on OTP 21
2018-06-23upgrade cf and bbmustache depsTristan Sloughter
2018-06-24Add Travis CI on OTP 21Luis Rascao
2018-06-24Merge pull request #661 from tsloughter/copy-file-infov3.26.0Luis Rascão
only copy mode and time attributes when copying files
2018-06-23only copy mode and time attributes when copying filesTristan Sloughter
2018-06-19Fix hostname settings in windows extended script (#659)v3.25.0Fred Hebert
- 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
2018-06-15Start script (#635)Michael Santos
* 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 -- ...
2018-06-12support for OTP21's sys.config.src file in releases (#647)Tristan Sloughter
* 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
2018-06-03fix for #511 order of dependencies (#655)Tristan Sloughter
2018-06-02add -heart to args not to be copied to nodetool (#653)Jan Uhlig
2018-05-30Add unused variables on replace OS vars test (#628)Luis Rascão
To prevent further regressions such as the one found in erlware/relx#627.
2018-05-30Add remote console using shortname test coverage (#643)Luis Rascão
2018-05-30Drop OTP R15/16 from Travis builds (#654)Luis Rascão
rebar3 has dropped support for these so relx needs to go along with the program.
2018-04-11Merge pull request #644 from juise/fix-sed-backupLuis Rascão
Fix backup file creation by sed
2018-04-01Reorder replace_os_vars and node NAME assignmentAlexander Petrovsky
2018-04-01Fix backup file creation by sedAlexander Petrovsky
2018-03-22Merge pull request #642 from konyaris/VMARGS_to_upgrade_escriptLuis Rascão
Extend adding extra args from vm.args to install_upgrade.escript
2018-03-22Extend adding extra args from vm.args to install_upgrade.escriptkonyaris
2018-02-15Merge pull request #640 from juise/masterv3.24.5Luis Rascão
Add extra args from vm.args into escripts and erl
2018-02-15Add extra args from vm.args into escripts and erlAlexander Petrovsky
2018-02-03Merge pull request #638 from tsloughter/bump-ec-1.0.5v3.24.4Luis Rascão
upgrade erlware_commons to 1.0.5
2018-02-02upgrade erlware_commons to 1.0.5Tristan Sloughter
2018-01-03Merge pull request #633 from lucafavatella/extension-exitLuis Rascão
Clarify that extension scripts shall exit
2018-01-02Clarify that extension scripts shall exitLuca Favatella
2017-11-21Merge pull request #627 from erlware/revert-586-feature/replace-defined-os-varsv3.24.3Luis Rascão
Revert "Only print lines for os var that are set"
2017-11-21Revert "Only print lines for os var that are set"Tristan Sloughter
2017-11-20Merge pull request #626 from ferd/windows-remote_consoleLuis Rascão
Windows: support remote_console, fix attach
2017-11-20Windows: support remote_console, fix attachFred Hebert
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.
2017-11-17Merge pull request #625 from tsloughter/up-ec-1.0.4v3.24.2Luis Rascão
upgrade erlware_commons to 1.0.4
2017-11-17upgrade erlware_commons to 1.0.4Tristan Sloughter