diff options
author | Tristan Sloughter <[email protected]> | 2013-03-23 13:30:40 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-03-23 15:56:56 -0500 |
commit | 2b5b2f40f2c80e65e4e3585d477c75a357813a69 (patch) | |
tree | aee268392ab5aef8bd8cd643199d5d04be4e7867 | |
parent | e00d3d31a2da2b56b2a34a3b55c89c543f199f70 (diff) | |
download | relx-2b5b2f40f2c80e65e4e3585d477c75a357813a69.tar.gz relx-2b5b2f40f2c80e65e4e3585d477c75a357813a69.tar.bz2 relx-2b5b2f40f2c80e65e4e3585d477c75a357813a69.zip |
add extended_start_script to example relcool config
-rw-r--r-- | examples/relcool.config | 4 | ||||
-rw-r--r-- | src/rcl_prv_assembler.erl | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/relcool.config b/examples/relcool.config index fe6182b..b5b02fc 100644 --- a/examples/relcool.config +++ b/examples/relcool.config @@ -35,6 +35,10 @@ %% to include it. {include_erts, false}. +%% The default start script relcool creates is basic. For a more complete start +%% script add the extended_start_script option. +{extended_start_script, true}. + %% When we have multiple releases relcool needs to know which one to build. You %% can specify that on the command line with the `-n` and `-v` arguments to %% relcool. However, it is often more convenient to do it in the config. diff --git a/src/rcl_prv_assembler.erl b/src/rcl_prv_assembler.erl index 1709b3b..90a6b72 100644 --- a/src/rcl_prv_assembler.erl +++ b/src/rcl_prv_assembler.erl @@ -299,7 +299,7 @@ include_erts(State, Release, OutputDir, RelDir) -> NodeToolFile = nodetool_contents(), NodeTool = filename:join([LocalErts, "bin", "nodetool"]), ok = file:write_file(NodeTool, NodeToolFile), - ok = file:change_mode(NodeTool, 8#777); + ok = file:change_mode(NodeTool, 8#755); false -> ok end, |