diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-12-15 15:40:19 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-12-15 15:40:19 +0100 |
commit | 93468dcbce14d002ec7e3525c813b83d33616d3d (patch) | |
tree | 13f588eb33d8a5ffa2f0a949b346282e78601472 /erts/doc/src | |
parent | 37933d48e1569bdf538686d8a1f82e7be4125ed5 (diff) | |
parent | c643ad3897587660ebd06afcef5e3dfc7f6c1180 (diff) | |
download | otp-93468dcbce14d002ec7e3525c813b83d33616d3d.tar.gz otp-93468dcbce14d002ec7e3525c813b83d33616d3d.tar.bz2 otp-93468dcbce14d002ec7e3525c813b83d33616d3d.zip |
Merge branch 'egil/erts/handle-sigterm-nicely/OTP-14085' into maint
* egil/erts/handle-sigterm-nicely/OTP-14085:
erts: Document SIGTERM handler
erts: Add SIGTERM signal handler
Diffstat (limited to 'erts/doc/src')
-rw-r--r-- | erts/doc/src/erl.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index f2a55f6298..8da832ac37 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -1595,6 +1595,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 |