summaryrefslogtreecommitdiff
path: root/priv/templates
Commit message (Collapse)AuthorAgeFilesLines
* simplenode.reltool.config: use default sys-level mod_cond settingTuncer Ayaz2013-04-061-1/+0
| | | | | | As discussed here http://erlang.org/pipermail/erlang-questions/2012-December/071135.html change the reltool spec to use the default sys-level mod_cond setting.
* Remove unnecessary barDave Smith2013-03-021-1/+1
|
* Change simplenode template files to work on more platformsJared Morrow2013-01-174-43/+156
| | | | | | | | | | | | When developing Riak, we have found bugs and other issues due to the number of platforms we support. Here is an overview of the changes: - Fix command-line syntax for commands to work on *BSD / Sun - Add chkconfig and getpid to nodetool - Replace platform specific 'kill' commands with a nodetool getpid method - Fix RUNNER_USER settings to work on *BSD
* Quote paths in Windows runner scriptMatt Campbell2012-07-312-23/+36
| | | | | This allows the node to run in paths which include special characters, for example 'C:\Program Files (x86)\Product Name'
* noderunner: add support for alt dir and boot fileUlf Wiger2012-07-141-20/+54
| | | | | | | | | | | | | | | | | This patch contains two additions to simplenode.runner: 1. Check if vm.args exists in CWD; if so, use it. This makes it easier to start multiple concurrent nodes on a single machine from one rebar-created release (starting each node from its own directory, with its own copy of vm.args and e.g. sys.config, log directory, database directory, etc.) 2. Add the targets start_boot <file> and console_boot <file>. This is used to select a different boot script. The 'setup' application (http://github.com/esl/setup) builds a special boot script for installation (all apps loaded but not started, making it possible to run install hooks with the full code path in place).
* Simplify reltool.config templateTuncer Ayaz2012-06-191-5/+3
|
* Add support for using -remsh via runner scriptjoewilliams2012-04-231-1/+25
|
* Use correctly escaped pipes in usage messageFrancis Joanis2012-04-171-1/+1
|
* Improvements to windows node runner scriptMatt Campbell2012-04-175-6/+102
| | | | | | | * 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.
* Remove export_all in simplemod templateTuncer Ayaz2012-03-251-4/+0
|
* Fix handle_call responseFisher2012-02-021-1/+1
|
* Fix order in erts exclusion filterTuncer Ayaz2012-01-201-1/+1
|
* Simplify excl_sys_filtersTuncer Ayaz2012-01-201-4/+2
|
* Set node name correctly on erlsrv commandlineMatt Campbell2012-01-091-1/+1
|
* Fix basic_nif on_load()Tuncer Ayaz2012-01-051-1/+3
|
* Comment out vm argsTuncer Ayaz2011-12-211-4/+4
|
* Trim reltool config and add nodeid to releaseTuncer Ayaz2011-12-201-9/+13
|
* Don't run erl_args through set_trimMatt Campbell2011-10-201-1/+1
| | | | | Args provided by erlsrv.exe were being mostly discarded due to being processed through set_trim
* @ characters before elses were causing the script to not runMistagrooves2011-09-261-2/+2
|
* fix vm.args checks by always using $VMARGS_PATHSteven Gravell2011-09-211-24/+23
|
* Update Windows runner script usage blurbMatt Campbell2011-09-201-1/+1
|
* Get rid of app.configjoewilliams2011-09-205-6/+37
| | | | | | | | | | | | | | | | | | | | 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.
* Add console command to windows runner scriptMatt Campbell2011-09-201-0/+5
|
* Clean up windows batch scriptsBen2011-09-012-12/+6
|
* Add simple Windows batch scripts to node templatesMatt Campbell2011-09-014-0/+90
|
* Adapt basicnif template to OTP changesTuncer Ayaz2011-07-192-15/+21
|
* Modernize basicnif template codeTuncer Ayaz2011-07-171-10/+16
|
* Fix grep portability (Reported-by: Andrew Thompson)Tuncer Ayaz2011-07-141-2/+2
|
* Change shebang lines to /bin/shTuncer Ayaz2011-07-132-2/+2
|
* Propagate exit status from nodetool to runner scriptAndrew Thompson2011-07-131-3/+20
|
* Whitespace cleanupsTuncer Ayaz2011-07-134-21/+24
|
* fix erlexec parameterAndrew Gopienko2011-07-051-1/+1
|
* Exact match name, cookie (reported-by Pablo Platt)Tuncer Ayaz2011-06-041-2/+2
|
* Fix formatting (thanks Piotr Usewicz)Tuncer Ayaz2011-04-152-2/+2
|
* Add file local variables where appropriatePiotr Usewicz2011-04-152-3/+1
|
* 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.
* Remove gratuitous spacesTuncer Ayaz2011-02-151-5/+5
|
* Add common_test suite templateTim Watson2011-02-152-0/+169
| | | | | | | | | | | | This change adds a simple common_test suite template that can be instantiated with the name of a module under test like so: `rebar create template=ctsuite testmod=mymodule` The template creates an empty test suite in the test directory, automatically exports test functions and sets up a first, skipped test function.
* 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.
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix bug 294Tuncer Ayaz2011-01-291-0/+22
|
* 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.
* Add file local variables to nodetool escriptTuncer Ayaz2011-01-211-1/+2
|
* Synchronize nodetool escript with riak versionTuncer Ayaz2011-01-211-1/+36
|