@@ -45,7 +45,7 @@ functionality:
4545 script.
4646- A _ simple target system_ that also supports code replacement in runtime.
4747- An _ embedded target system_ that also supports starting automatically
48- at boot time, and logging output from the system files for later inspection.
48+ at boot time, and logging output from the system to files for later inspection.
4949
5050Here is only considered the case when Erlang/OTP is running on a UNIX system.
5151
@@ -122,7 +122,7 @@ lib/sasl-2.3.4/
122122lib/pea-1.0/
123123```
124124
125- The file ` releases/FIRST/start.boot ` is a copy of our ` mysystem.boot `
125+ The file ` releases/FIRST/start.boot ` is a copy of our ` mysystem.boot ` .
126126
127127The release resource file ` mysystem.rel ` is duplicated in the tar file.
128128Originally, this file was only stored in the ` releases ` directory to make it
@@ -204,7 +204,7 @@ script calls `bin/run_erl`, which in turn calls `bin/start_erl` (roughly,
204204` start_erl ` is an embedded variant of ` erl ` ).
205205
206206The shell script ` start ` , which is generated from ` erts-5.10.4/bin/start.src `
207- during installation, is merely an example. Edit it to suite your needs. Typically
207+ during installation, is merely an example. Edit it to suit your needs. Typically
208208it is executed when the UNIX system boots.
209209
210210` run_erl ` is a wrapper that provides logging of output from the runtime system
@@ -214,7 +214,7 @@ to file. It also provides a simple mechanism for attaching to the Erlang shell
214214` start_erl ` requires:
215215
2162161 . The root directory (` "/usr/local/erl-target" ` )
217- 1 . The releases directory (` "/usr/local/erl-target/releases" `
217+ 1 . The releases directory (` "/usr/local/erl-target/releases" ` )
2182181 . The location of the file ` start_erl.data `
219219
220220It performs the following:
@@ -225,7 +225,7 @@ It performs the following:
2252251 . Provides the flag ` -boot ` specifying the boot file of the release version
226226 found (` "releases/FIRST/start.boot" ` ).
227227
228- ` start_erl ` also assumes that there is ` sys.config ` in the release version
228+ ` start_erl ` also assumes that there is a ` sys.config ` in the release version
229229directory (` "releases/FIRST/sys.config" ` ). That is the topic of the next
230230section.
231231
@@ -244,7 +244,7 @@ In fact, if you in the current directory create not only the file
244244` mysystem.rel ` , but also file ` sys.config ` , the latter file is tacitly put in
245245the appropriate directory.
246246
247- However, it can also be convenient to replace variables in within a ` sys.config `
247+ However, it can also be convenient to replace variables within a ` sys.config `
248248on the target after unpacking but before running the release. If you have a
249249` sys.config.src ` it will be included and is not required to be a valid Erlang
250250term file like ` sys.config ` . Before running the release you must have a valid
@@ -256,12 +256,12 @@ booting the release.
256256
257257The previous ` install/2 ` procedure differs somewhat from that of the ordinary
258258` Install ` shell script. In fact, ` create/1 ` makes the release package as
259- complete as possible, and leave to the ` install/2 ` procedure to finish by only
259+ complete as possible, and leaves it to the ` install/2 ` procedure to finish by only
260260considering location-dependent files.
261261
262262## Creating the Next Version
263263
264- In this example the Pea application has been changed, and so are the
264+ In this example the Pea application has been changed, and so have the
265265applications ERTS, Kernel, STDLIB and SASL.
266266
267267_ Step 1._ Create the file ` .rel ` :
@@ -371,7 +371,7 @@ It can be accessed as follows:
371371```
372372
373373Logs can be found in ` /usr/local/erl-target/log ` . This directory is specified as
374- an argument to ` run_erl ` in the start script listed above.
374+ an argument to ` run_erl ` in the start script listed above.
375375
376376_ Step 1._ Unpack the release:
377377
@@ -425,7 +425,7 @@ _Step 3._ Make the new release permanent:
425425
426426Check the releases again:
427427
428- ``` c
428+ ``` erlang
4294293 > release_handler :which_releases ().
430430[{" MYSYSTEM" ," SECOND" ,
431431 [" kernel-3.0" ," stdlib-2.0" ," sasl-2.4" ," pea-2.0" ],
0 commit comments