Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-31 | Revert "Enhance evaluation of environment variables"revert-426-vars | Tristan Sloughter | |
2015-12-30 | Allow console to set code loading mode based on defaults. | Shawn Debnath | |
2015-12-22 | Enhance the variable replacement | Serge Aleynikov | |
Add ability to also run shell commands contained in the sys.config. E.g.: # In this example the node name defaults to name of the release # and can be overriden at run-time, appended with current year $ head -1 vm.args -sname ${NODE_NAME:-$REL_NAME}$(date +%Y) # If the $NAME is 'abc2015', and hostname is 'MyHost', below the 'node' # parameter gets set to 'Abc2015@myhost' $ grep node sys.config {node, $(echo ${NAME^})@${HOSTNAME,,}} | |||
2015-12-22 | Optimize evaluation of environment variables | Serge Aleynikov | |
This patch addresses the following issues: * When RELX_REPLACE_OS_VARS is set, evaluation of environment vars is done by the shell rather than awk, this allows to use more powerful notation of environment variables in sys.config and vm.args (e.g. `-sname abc@${HOSTNAME,,}` or `{myapp, [{user, ${USER:-unknown}}]}` * Using shell vars rather than unnecessarily forking awk/grep/etc | |||
2015-11-19 | make remote shell a hidden node so they don't try to join each other | Tristan Sloughter | |
2015-11-06 | fix upgrade/install/unpack command bug | paul | |
bug description: if vm.arg use '-sname xxx' option, When exec upgrade/install/unpack command, it will report "Hostname yyy is illegal" error. | |||
2015-10-04 | continue extended_bin script execution after VMARGS checks | artygus | |
2015-09-27 | make short name the default in vmargs | Tristan Sloughter | |
2015-09-24 | Merge pull request #395 from essen/masterv3.7.0 | Tristan Sloughter | |
Add rpc|rpcterms to nodetool usage | |||
2015-09-24 | Merge pull request #399 from priestjim/feature/startup-script-fixes | Tristan Sloughter | |
Regression fix on startup script improvements | |||
2015-09-24 | Regression fix on startup script improvements | Panagiotis PJ Papadomitsos | |
Fixed a regression that occurs when using readlink on a Mac, which crashes the startup script if the startup script is not a link but an actual file (which is the most common case) | |||
2015-09-22 | Add rpc|rpcterms to nodetool usage | Loïc Hoguin | |
2015-09-21 | Adding shebang to escript | David Leach | |
Without a proper shebang many tools like lintian for debian packages complain. | |||
2015-09-15 | Startup script improvements | Panagiotis PJ Papadomitsos | |
- Made the standard and extended startup scripts self-link-aware. This helps with deployments that symlink the startup script to more standard directories (i.e. /usr/local/bin). readlink is used, which comes standard in all Unix-like distributions - Made the inclusion of a custom sys.config not depend on a custom vm.args file. This way you can use a custom sys.config without using a custom vm.args file | |||
2015-08-04 | 'od' only needs to read 4 bytes of random data | Garret Smith | |
'-N 4' option looks portable across all major flavors of *BSD, Linux, OSX Adding this option prevents a strange case where 'od' can go to 100% CPU in restart scenarios | |||
2015-07-20 | Fix start script not loading sys.config in console | CarlosEDP | |
2015-07-18 | fix console_clean in dev_mode by always creating start_clean.boot | Tristan Sloughter | |
2015-06-23 | Adjust local variable naming per review comments | Jared Morrow | |
2015-06-23 | Remove bashisms from run scripts | Jared Morrow | |
This commit removes the bashisms in `bin` and `extended_bin`. Both of these scripts used `local` variables which are a bash addition and aren't supported on Solaris/SmartOS /bin/sh. To keep the local intention of the variables, they were renamed from $var to $l_var. In addition, `extended_bin` used `kill -SIGNAL $PID` which is also not in Solaris `kill`. | |||
2015-05-08 | use mustache instead of erlydtl for overlays | Tristan Sloughter | |
2015-04-04 | Replace "cut -d ' ' -f2" with "awk '{print $2}'" so it will work on a mac, ↵ | Jay Doane | |
where od -X /dev/urandom returns columns separated by more than one space | |||
2015-04-04 | Replace "-s init stop" with "halt()" in relx_get_longname | Jay Doane | |
2015-03-31 | Replace "-s init stop" with halt() | Jay Doane | |
2015-03-31 | support spaces in erl path in windows script | Tristan Sloughter | |
2015-03-31 | Merge pull request #316 from davidw/fix_hostname_lookup2 | Tristan Sloughter | |
Use 'erl' to determine Erlang hostname rather than nodetool | |||
2015-03-31 | Merge pull request #260 from syl20bnr/remove_uneeded_chars | Tristan Sloughter | |
Remove unneeded @ which may output error messages | |||
2015-02-17 | Use 'erl' to determine Erlang hostname rather than nodetool | David N. Welton | |
2015-01-31 | don't use CONFIG_PATH os var, fixes #241 | Tristan Sloughter | |
2015-01-30 | expose rpc and rpcterms functionality from extended bins script | Tristan Sloughter | |
2015-01-28 | support rpcterms with no args or argstring in nodetool | Tristan Sloughter | |
2015-01-27 | treat rpcterm args as a string not a list of elements | Tristan Sloughter | |
2015-01-11 | Merge pull request #296 from tsloughter/basic_bin | Jordan Wilberding | |
handle the renaming of the boot script to start.boot in basic bin script | |||
2015-01-10 | handle the renaming of the boot script to start.boot in basic bin script | Tristan Sloughter | |
2015-01-06 | add unpack option to install scripts | Tristan Sloughter | |
2014-12-25 | No need to output -1 since error codes are straightened out. | Luke Bakken | |
2014-12-24 | Explicitly use 'exit 1' to exit | Luke Bakken | |
Fixes #286 Using `exit $?` will exit with 0 status even in error conditions. I believe this is due to the fact that the `if` statement sets `$?` somehow. This could be a bug in the version of `bash` I'm using (as `/bin/sh`): ``` $ /bin/sh --version GNU bash, version 4.3.30(1)-release (x86_64-unknown-linux-gnu) ``` | |||
2014-12-24 | Add `pid` to usage | Luke Bakken | |
2014-12-24 | Use nodetool to get VM PID | Luke Bakken | |
Rather than use `ps`, `grep` and `awk` to get the `beam.smp` process id, use the `os:getpid` function. Also, provide a `pid` command to facilitate retrieving the VM's process id at a later time. Useful for when running via `monit`, for instance. | |||
2014-12-11 | check for CODE_LOADING_MODE in extended bin script, default to 'embedded' | Richard Jones | |
2014-11-22 | if include_erts is false, do not include stdlibs | Tristan Sloughter | |
2014-11-16 | fix match on node name type | Tristan Sloughter | |
2014-11-06 | use short name for -sname and longname of -name in extended script | Tristan Sloughter | |
2014-11-06 | Remove uneeded @ which may output error messages | syl20bnr | |
2014-11-05 | Relup support for Windows | syl20bnr | |
2014-11-03 | Fix *bin_windows.dtl boot script path | syl20bnr | |
In order to make it work with both compressed and uncompressed releases | |||
2014-10-31 | Merge pull request #247 from silverbuddy/master | Tristan Sloughter | |
Fix grep pattern for beam process | |||
2014-10-31 | Fix grep pattern for beam process | silverbuddy | |
2014-10-30 | Add support for multiple nodes running the same release | Enrique Fernandez | |
2014-10-28 | turn args from string to list - related to ↵ | ROMAN SHESTAKOV | |
https://github.com/erlware/relx/issues/239 | |||
2014-10-27 | pass a list of args instead of a string | ROMAN SHESTAKOV | |