summaryrefslogtreecommitdiff
path: root/priv/templates/simplenode.runner
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to windows node runner scriptMatt Campbell2012-04-171-1/+23
| | | | | | | * Typos and other minor bug fixes * Add "attach" command (via -remsh) * Add "upgrade" command to install a hot upgrade package * Add "upgrade" subcommand to UNIX runner script as well
* Add foreground as a runner start optionjoewilliams2012-04-101-1/+26
|
* simplenode.runner: fix HEART_CMD argumentsYurin Slava2012-04-041-1/+1
|
* simplenode.runner: properly quote argumentsYurin Slava2012-04-041-5/+6
| | | | | | bin/<release_name> console -kernel test '[{"a","b"}]' fails, because when $@ is inserted into CMD [{"a","b"}] is interpreted. Fix the same issue for 'start' command and quote all arguments.
* fix vm.args checks by always using $VMARGS_PATHSteven Gravell2011-09-211-24/+23
|
* Get rid of app.configjoewilliams2011-09-201-1/+15
| | | | | | | | | | | | | | | | | | | | app.config has been a long standing erroneous file in rebar. Erlang/OTP documentation suggests a sys.config file instead. This file is stored in the releases/VSN directory. This does a few things but most importantly it ensures your config (contained in the application environment) survives a hot upgrade. It also has the advantage of allowing the configuration of the application to be versioned along side the application code. This patch flips rebar to use sys.config rather than app.config. Additionally it makes this flip to vm.args as well, making them versioned just like sys.config. This patch also includes runner script changes to support the old etc/app.config config file location and support for Windows. Thanks to mokele for the initial work and kick in the pants to make this finially happen.
* Fix grep portability (Reported-by: Andrew Thompson)Tuncer Ayaz2011-07-141-2/+2
|
* Change shebang lines to /bin/shTuncer Ayaz2011-07-131-1/+1
|
* Propagate exit status from nodetool to runner scriptAndrew Thompson2011-07-131-3/+20
|
* fix erlexec parameterAndrew Gopienko2011-07-051-1/+1
|
* Exact match name, cookie (reported-by Pablo Platt)Tuncer Ayaz2011-06-041-2/+2
|
* Support passing plain arguments to `appname start`Alexey Romanov2011-03-051-1/+2
| | | | | | | Currently with default simplenode template, `appname console other_args` will pass ["console", "other_args"] as plain arguments. But `appname start other_args` effectively calls `appname console`. This patch replaces this call with `appname console other_args`.
* Remove rejected commitAlexey Romanov2011-03-051-1/+1
|
* Add console_clean to usage message for simplenode.Alexey Romanov2011-02-211-1/+1
|
* Support passing plain arguments to simplenode.Alexey Romanov2011-02-211-1/+1
| | | | | | | `init:get_plain_arguments()` returns `["console", "more_args"]` when started with `$APP_NAME console more_args`, but `["console"]` when started with `$APP_NAME start more_args`. This patch makes `start` behave like `console` in this respect.
* Clarify trailing slash for PIPE_DIRJoseph Wayne Norton2011-02-151-2/+2
| | | | | The trailing slash for PIPE_DIR is necessary for both start and attach operations.
* Add 'generate-upgrade' commandjoewilliams2011-01-271-2/+8
| | | | | | | | | | | | | | | | | | | | | To support OTP release upgrades I have added support for building upgrade packages. Support for this is included in the rebar_upgrade module, specifically generate_upgrade/2. It requires one variable to be set on the command line 'previous_release' which is the absolute path or relative path from 'rel/' to the previous release one is upgrading from. Running an upgrade will create the needed files, including a relup and result in a tarball containing the upgrade being written to 'rel/'. When done it cleans up the temporary files systools created. Usage: $ rebar generate-upgrade previous_release=/path/to/old/version This also includes a dummy application that can be used to test upgrades as well as an example. Special thanks to Daniel Reverri, Jesper Louis Andersen and Richard Jones for comments and patches.
* Fix possible export VAR=VALUE bashismTuncer Ayaz2010-12-171-1/+2
|
* Revert to using awk instead of cutTuncer Ayaz2010-12-131-3/+3
|
* Extract column 2 on CYGWINTuncer Ayaz2010-12-101-1/+1
|
* Use cut instead of awk to extract 1st columnTuncer Ayaz2010-12-101-4/+3
|
* Change vm process search to include non-smp beamTuncer Ayaz2010-12-101-3/+3
|
* Disable printing of column headers in ps callsTuncer Ayaz2010-12-091-2/+2
|
* Fix portability of ps invocationTuncer Ayaz2010-12-071-1/+17
|
* Fix whitespace error and add file local variablesTuncer Ayaz2010-12-071-1/+3
|
* Fix bashismTuncer Ayaz2010-12-021-1/+1
|
* The trailing slash is important enough to put it here directly since when it'sRyan Tilder2010-06-231-1/+2
| | | | | missing from the PIPE_DIR definition above, the application won't start and doesn't log any thing to the expected locations.
* Fixing issue #3; make sure to properly escape simplenode related files. ↵Dave Smith2010-01-261-1/+1
| | | | Patch provided by cstar..thanks!
* Adding sketch of functionality for creating a reltool node from templateDave Smith2010-01-081-0/+130