1rel(5) Files rel(5)
2
3
4
6 rel - Release resource file
7
9 The release resource file specifies which applications are included in
10 a release (system) based on Erlang/OTP.
11
12 This file is used by the functions in systools when generating start
13 scripts (.script, .boot) and release upgrade files (relup).
14
16 The release resource file is to be called Name.rel.
17
18 The .rel file contains one single Erlang term, which is called a re‐
19 lease specification. The file has the following syntax:
20
21 {release, {RelName,Vsn}, {erts, EVsn},
22 [{Application, AppVsn} |
23 {Application, AppVsn, Type} |
24 {Application, AppVsn, IncApps} |
25 {Application, AppVsn, Type, IncApps}]}.
26
27 RelName = string():
28 Release name.
29
30 Vsn = string():
31 Release version.
32
33 EVsn = string():
34 ERTS version the release is intended for.
35
36 Application = atom():
37 Name of an application included in the release.
38
39 AppVsn = string():
40 Version of an application included in the release.
41
42 Type = permanent | transient | temporary | load | none:
43 Start type of an application included in the release.
44
45 If Type = permanent | transient | temporary, the application is
46 loaded and started in the corresponding way, see application(3).
47
48 If Type = load, the application is only loaded.
49
50 If Type = none, the application is not loaded and not started, al‐
51 though the code for its modules is loaded.
52
53 Defaults to permanent
54
55 IncApps = [atom()]:
56 A list of applications that are included by an application included
57 in the release. The list must be a subset of the included applica‐
58 tions specified in the application resource file (Application.app)
59 and overrides this value. Defaults to the same value as in the ap‐
60 plication resource file.
61
62 Note:
63 The list of applications must contain the Kernel and STDLIB applica‐
64 tions.
65
66
68 application(3), relup(4), systools(3)
69
70
71
72Ericsson AB sasl 4.1 rel(5)