aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/system_principles/create_target.xmlsrc
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2018-01-26 17:49:18 -0800
committerTristan Sloughter <[email protected]>2018-02-27 13:09:24 -0800
commit1cf7851ccb002c95c0ef19a67807fb33895b723b (patch)
tree5a4f99bcb1274c24a49b56029dd34d160added95 /system/doc/system_principles/create_target.xmlsrc
parentd5239606a6dd10cd22fe868fe522816227b194ef (diff)
downloadotp-1cf7851ccb002c95c0ef19a67807fb33895b723b.tar.gz
otp-1cf7851ccb002c95c0ef19a67807fb33895b723b.tar.bz2
otp-1cf7851ccb002c95c0ef19a67807fb33895b723b.zip
update create_target.xmlsrc and release structure docs
Diffstat (limited to 'system/doc/system_principles/create_target.xmlsrc')
-rw-r--r--system/doc/system_principles/create_target.xmlsrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/doc/system_principles/create_target.xmlsrc b/system/doc/system_principles/create_target.xmlsrc
index f9b27ffc35..dc6cbbe980 100644
--- a/system/doc/system_principles/create_target.xmlsrc
+++ b/system/doc/system_principles/create_target.xmlsrc
@@ -263,6 +263,14 @@ os> <input>/usr/local/erl-target/bin/erl -boot /usr/local/erl-target/releases/FI
current directory create not only the file <c>mysystem.rel</c>,
but also file <c>sys.config</c>, the latter file is tacitly
put in the appropriate directory.</p>
+ <p>However, it can also be convenient to replace variables in
+ within a <c>sys.config</c> on the target after unpacking but
+ before running the release. If you have a <c>sys.config.src</c>
+ it will be included and is not required to be a valid Erlang term
+ file like <c>sys.config</c>. Before running the release you must
+ have a valid <c>sys.config</c> in the same directory, so using
+ <c>sys.config.src</c> requires having some tool to populate what is
+ needed and write <c>sys.config</c> to disk before booting the release.</p>
</section>
<section>