aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erlsrv.xml
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-05-27 15:41:47 +0200
committerPatrik Nyblom <[email protected]>2011-05-27 15:41:47 +0200
commit1ae1996053a1a621cb2d013a3f8377accde78f00 (patch)
tree418441b75ba6cda676e7527a9fcf41a0776d0c9f /erts/doc/src/erlsrv.xml
parent62ff4caa39235fd0ba30b51f419309fcba06001d (diff)
downloadotp-1ae1996053a1a621cb2d013a3f8377accde78f00.tar.gz
otp-1ae1996053a1a621cb2d013a3f8377accde78f00.tar.bz2
otp-1ae1996053a1a621cb2d013a3f8377accde78f00.zip
Add command start_disabled to erlsrv
Diffstat (limited to 'erts/doc/src/erlsrv.xml')
-rw-r--r--erts/doc/src/erlsrv.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/erts/doc/src/erlsrv.xml b/erts/doc/src/erlsrv.xml
index 0dfad2a112..d9f7fdd309 100644
--- a/erts/doc/src/erlsrv.xml
+++ b/erts/doc/src/erlsrv.xml
@@ -273,7 +273,7 @@
</desc>
</func>
<func>
- <name>erlsrv {start | stop | disable | enable} &lt;service-name></name>
+ <name>erlsrv {start | start_disabled | stop | disable | enable} &lt;service-name></name>
<fsummary>Manipulate the current service status.</fsummary>
<desc>
<p>These commands are only added for convenience, the normal
@@ -287,6 +287,21 @@
service actually is stopped. Enabling a service sets it in
automatic mode, that is started at boot. This command cannot
set the service to manual. </p>
+
+ <p>The <c>start_disabled</c> command operates on a service
+ regardless of if it's enabled/disabled or started/stopped. It
+ does this by first enabling it (regardless of if it' enabled
+ or not), then starting it (if it's not already started) and
+ then disabling it. The result will be a disabled but started
+ service, regardless of it's earlier state. This is useful for
+ starting services temporarily during a release upgrade. The
+ difference between using <c>start_disabled</c> and the
+ sequence <c>enable</c>, <c>start</c> and <c>disable</c> is
+ that all other <c>erlsrv</c> commands are locked out during
+ the sequence of operations in <c>start_disable</c>, making the
+ operation atomic from an <c>erlsrv</c> user's point of
+ view.</p>
+
</desc>
</func>
<func>