aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-12-15 15:14:50 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-12-15 15:14:50 +0100
commitc643ad3897587660ebd06afcef5e3dfc7f6c1180 (patch)
tree9704e9aed200449d63c9bbd52e53d3fca6914a81
parent4a8e2aeee74f1c952c52d621ad13c781384a0172 (diff)
downloadotp-c643ad3897587660ebd06afcef5e3dfc7f6c1180.tar.gz
otp-c643ad3897587660ebd06afcef5e3dfc7f6c1180.tar.bz2
otp-c643ad3897587660ebd06afcef5e3dfc7f6c1180.zip
erts: Document SIGTERM handler
-rw-r--r--erts/doc/src/erl.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index f39b640c7e..00f7766368 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -1586,6 +1586,25 @@
</section>
<section>
+ <marker id="signals"></marker>
+ <title>Signals</title>
+ <p>On Unix systems, the Erlang runtime will interpret two types of signals.</p>
+ <taglist>
+ <tag><c>SIGUSR1</c></tag>
+ <item>
+ <p>A <c>SIGUSR1</c> signal forces a crash dump.</p>
+ </item>
+ <tag><c>SIGTERM</c></tag>
+ <item>
+ <p>A <c>SIGTERM</c> will produce a <c>stop</c> message to the <c>init</c> process.
+ This is equivalent to a <c>init:stop/0</c> call.</p>
+ <p>Introduced in ERTS 8.3 (Erlang/OTP 19.3)</p>
+ </item>
+ </taglist>
+ <p>The signal <c>SIGUSR2</c> is reserved for internal usage. No other signals are handled.</p>
+ </section>
+
+ <section>
<marker id="configuration"></marker>
<title>Configuration</title>
<p>The standard Erlang/OTP system can be reconfigured to change the default