Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified simplenode.runner to start from alternative directory #212

Closed
wants to merge 1 commit into from

Conversation

uwiger
Copy link
Contributor

@uwiger uwiger commented Apr 11, 2012

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).

@uwiger
Copy link
Contributor Author

uwiger commented Apr 12, 2012

An example of how we make use of this when preparing and starting a node:
https://gist.github.com/2365439

@joewilliams
Copy link
Contributor

+1 Looks like this shouldn't effect existing behavior and is a good addition.

@uwiger
Copy link
Contributor Author

uwiger commented Apr 18, 2012

Clarified the description in the original pull request message, and also amended the commit message.

    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).
@ghost
Copy link

ghost commented Apr 19, 2012

+1.

@ghost
Copy link

ghost commented Jul 13, 2012

Thanks, merged.

@ghost ghost closed this Jul 13, 2012
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants