diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-15 09:33:17 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-15 09:33:25 +0200 |
commit | 6e2f5000c7a83e3cce336d07395463491fc5f16d (patch) | |
tree | a07baa685c6d8361da41045cc8b44a202556d723 /man/systemd.service.xml | |
parent | Revert "device : reload when udev generates a "changed" event" (#6836) (diff) | |
download | systemd-6e2f5000c7a83e3cce336d07395463491fc5f16d.tar.xz systemd-6e2f5000c7a83e3cce336d07395463491fc5f16d.zip |
man: delete note about propagating signal termination
That advice is generally apropriate for "user" programs, i.e. programs which
are run interactively and used pipelines and such. But it makes less sense for
daemons to propagate the exit signal. For example, if a process receives a SIGTERM,
it is apropriate for it to exit with 0 code. So let's just delete the whole
paragraph, since this page doesn't seem to be the right place for the longer
discussion which would be required to mention all the caveats and considerations.
Fixes #6415.
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 0b8963b7b8..5b82d774ba 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -753,16 +753,6 @@ considered clean service terminations. </para> - <para>Note that if a process has a signal handler installed - and exits by calling - <citerefentry><refentrytitle>_exit</refentrytitle><manvolnum>2</manvolnum></citerefentry> - in response to a signal, the information about the signal is - lost. Programs should instead perform cleanup and kill - themselves with the same signal instead. See - <ulink url="http://www.cons.org/cracauer/sigint.html">Proper - handling of SIGINT/SIGQUIT — How to be a proper - program</ulink>.</para> - <para>This option may appear more than once, in which case the list of successful exit statuses is merged. If the empty string is assigned to this option, the list is reset, all |