aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/doc/src/appup.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-03-07 08:32:54 +0100
committerSiri Hansen <[email protected]>2011-03-07 08:33:02 +0100
commit4ec1678553ff9b20feaa93ab108196943d14f0df (patch)
tree4b39ca8813a183a87ffd2c07e4311cf700f67c5d /lib/sasl/doc/src/appup.xml
parent5878040bda0427afebf4581534b6dd6febd4b3ce (diff)
parent49d011c355682ce5cb5447c682684031dab82e8b (diff)
downloadotp-4ec1678553ff9b20feaa93ab108196943d14f0df.tar.gz
otp-4ec1678553ff9b20feaa93ab108196943d14f0df.tar.bz2
otp-4ec1678553ff9b20feaa93ab108196943d14f0df.zip
Merge branch 'pg/honor-start-type-in-rel-files' into dev
* pg/honor-start-type-in-rel-files: Honor start type in .rel files when building relup files OTP-9097
Diffstat (limited to 'lib/sasl/doc/src/appup.xml')
-rw-r--r--lib/sasl/doc/src/appup.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/sasl/doc/src/appup.xml b/lib/sasl/doc/src/appup.xml
index 5182889710..48d7b69885 100644
--- a/lib/sasl/doc/src/appup.xml
+++ b/lib/sasl/doc/src/appup.xml
@@ -174,11 +174,19 @@
<c>remove</c> and <c>purge</c>.</p>
<pre>
{add_application, Application}
+{add_application, Application, Type}
Application = atom()
+ Type = permanent | transient | temporary | load | none
</pre>
<p>Adding an application means that the modules defined by
the <c>modules</c> key in the <c>.app</c> file are loaded using
- <c>add_module</c>, then the application is started.</p>
+ <c>add_module</c>.</p>
+ <p><c>Type</c> defaults to <c>permanent</c> and specifies the start type
+ of the application. If <c>Type = permanent | transient | temporary</c>,
+ the application will be loaded and started in the corresponding way,
+ see <c>application(3)</c>. If <c>Type = load</c>, the application will
+ only be loaded. If <c>Type = none</c>, the application will be neither
+ loaded nor started, although the code for its modules will be loaded.</p>
<pre>
{remove_application, Application}
Application = atom()