From 0aa02c13f0d213da983bc01cab8be737e7aa751a Mon Sep 17 00:00:00 2001 From: "David N. Welton" Date: Fri, 27 Apr 2018 01:09:09 -0700 Subject: Add a bit of documentation about restart_application (#1582) It is now explicitly stated that if the application type is `load`, the application will not actually be restarted by the `restart_application` instruction in relup, even if it is currently running. It will only be stopped and re-loaded. --- lib/sasl/doc/src/appup.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/sasl/doc/src/appup.xml b/lib/sasl/doc/src/appup.xml index a43a966dcb..d9d339884f 100644 --- a/lib/sasl/doc/src/appup.xml +++ b/lib/sasl/doc/src/appup.xml @@ -249,9 +249,17 @@
 {restart_application, Application}
   Application = atom()
-

Restarting an application means that the application is - stopped and then started again, similar to using the instructions - remove_application and add_application in sequence.

+

Restarting an application means that the application is stopped + and then started again, similar to using the instructions + remove_application and add_application in sequence. + Note that, even if the application has been started before the + release upgrade is performed, restart_application may only + load it rather than start it, depending on the + application's start type: + If Type = load, the application is only loaded. + If Type = none, the application is not loaded and not + started, although the code for its modules is loaded. +

-- cgit v1.2.3