aboutsummaryrefslogtreecommitdiffstats
path: root/priv
AgeCommit message (Collapse)Author
2015-01-10handle the renaming of the boot script to start.boot in basic bin scriptTristan Sloughter
2014-12-25No need to output -1 since error codes are straightened out.Luke Bakken
2014-12-24Explicitly use 'exit 1' to exitLuke 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-24Add `pid` to usageLuke Bakken
2014-12-24Use nodetool to get VM PIDLuke 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-11check for CODE_LOADING_MODE in extended bin script, default to 'embedded'Richard Jones
2014-11-22if include_erts is false, do not include stdlibsTristan Sloughter
2014-11-16fix match on node name typeTristan Sloughter
2014-11-06use short name for -sname and longname of -name in extended scriptTristan Sloughter
2014-11-05Relup support for Windowssyl20bnr
2014-11-03Fix *bin_windows.dtl boot script pathsyl20bnr
In order to make it work with both compressed and uncompressed releases
2014-10-31Merge pull request #247 from silverbuddy/masterTristan Sloughter
Fix grep pattern for beam process
2014-10-31Fix grep pattern for beam processsilverbuddy
2014-10-30Add support for multiple nodes running the same releaseEnrique Fernandez
2014-10-28turn args from string to list - related to ↵ROMAN SHESTAKOV
https://github.com/erlware/relx/issues/239
2014-10-27pass a list of args instead of a stringROMAN SHESTAKOV
2014-10-13Merge pull request #232 from Cloven/add_escript_commandTristan Sloughter
fix bug in path script
2014-10-13remove script path from passed arguments listFelix The Hammer Gallo
2014-10-13fix bug in path scriptFelix The Hammer Gallo
2014-10-11use long hostname if no hostname givenTristan Sloughter
2014-10-10Added the 'escript' command to the extended release script to permitFelix The Hammer Gallo
escripts to run in the release's environment without having to break release encapsulation. Example use: $ _rel/myrelease/bin/myrelease escript priv/test.escript arg1 arg2 arg3 The argument to 'escript' is relative to the release's root. The script is started with the 'escript' binary in the release's erts release; has a current working directory of the release's root directory; and additionally is started with visibility of an environment variable called 'RELEASE_ROOT_DIR' which contains the absolute path of the release's root directory.
2014-09-27Merge pull request #224 from jaydoane/replace-init-stop-with-halt-in-bin-dot-dtlTristan Sloughter
Replace "-s init stop" with halt()
2014-09-27Merge pull request #222 from srstrong/masterTristan Sloughter
Modified error handling around nodetool to reduce silent failures
2014-09-18Replace "-s init stop" with halt()Jay Doane
2014-08-22Modified error handling around nodetool to reduce silent failuresSteve Strong
2014-08-12make PIPE_DIR overridableTino Breddin
2014-07-22Make HEART_COMMAND use the full path, otherwise it does not work.David N. Welton
Fixes #214
2014-07-17Get tick time in order to 'synchronize' with the node we are connecting with.David N. Welton
Having a different net_ticktime than the remote node will lead to odd shell crashes. Fixes #209
2014-06-27fix for running console on target system. meaning start.bootTristan Sloughter
2014-06-01Run nodetool using results of find_erts_dirTim Stewart
Before this change, extended_bin.dtl assumes the release uses an embedded erts release when calling nodetool, making any nodetool-related functionality incompatible with the following setting: {include_erts, false} This change calls nodetool using the escript binary in the path discovered in the find_erts_dir function.
2014-05-23add erts_dir fix to bin directory, remove extranneous erl_root declaration ↵nuex
in extended_bin
2014-05-23remove extra escape; ensures correct erts dir with or without spacesnuex
2014-05-22remove quoting that breaks start scriptsTristan Sloughter
2014-05-18Fix quoting of arguments that prevented them from being appliedJordan Wilberding
2014-05-18Fix whitespaceJordan Wilberding
2014-05-14Merge pull request #179 from tsloughter/remote_consoleJordan Wilberding
append '@hostname' if missing from sname, for remsh
2014-05-09append @hostname if missing from sname, for remshTristan Sloughter
2014-05-09add option to extended start script to replace env vars in config filesTristan Sloughter
2014-05-05fix comments for extended script search for vm.args and sys.configTristan Sloughter
2014-05-04Change default timeout from 60 seconds to 300 seconds to help with longer ↵Jordan Wilberding
upgrades. This closes #131.
2014-04-09posix compatibilitynuex
- use awk instead of date for generating a random id for remsh - use -f instead of -e for testing the existence of a file
2014-04-06Windows supportnuex
2014-03-28Give release scripts ability to handle directories with spacesnuex
2014-03-27Update startup script to allow overriding config location.Roger Lipscombe
2014-03-21Allow overriding RUNNER_LOG_DIRRoger Lipscombe
2014-03-11use vm.args in basic bin scriptTristan Sloughter
2014-03-08honor existing LD_LIBRARY_PATH in script templatesnuex
2014-03-08unescape quotesnuex
2014-03-08fix typo in rel_name tagnuex
2014-03-08just compile regular files as template modulesnuex