aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/relcool.config4
-rw-r--r--src/rcl_prv_assembler.erl2
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,