anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0656-man-document-that-SIGCONT-always-follows-SIGTERM.patch

aed857
From 210c9e5dd1e3d0e37a16225a63840d71b473684c Mon Sep 17 00:00:00 2001
aed857
From: Lennart Poettering <lennart@poettering.net>
aed857
Date: Mon, 15 Jun 2015 12:05:11 +0200
aed857
Subject: [PATCH] man: document that SIGCONT always follows SIGTERM
aed857
aed857
As requested in #199.
aed857
aed857
(cherry picked from commit e8c53936316288ea3b33b5997b175862f0efef92)
aed857
Resolves: #1601794
aed857
---
aed857
 man/systemd.kill.xml | 8 +++++++-
aed857
 1 file changed, 7 insertions(+), 1 deletion(-)
aed857
aed857
diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml
aed857
index e57f0e724..1292f4f51 100644
aed857
--- a/man/systemd.kill.xml
aed857
+++ b/man/systemd.kill.xml
aed857
@@ -136,7 +136,13 @@
aed857
         by <constant>SIGKILL</constant> (see above and below). For a
aed857
         list of valid signals, see
aed857
         <citerefentry project='man-pages'><refentrytitle>signal</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
aed857
-        Defaults to <constant>SIGTERM</constant>. </para></listitem>
aed857
+        Defaults to <constant>SIGTERM</constant>. </para>
aed857
+
aed857
+        <para>Note that right after sending the signal specified in
aed857
+        this setting systemd will always send
aed857
+        <constant>SIGCONT</constant>, to ensure that even suspended
aed857
+        tasks can be terminated cleanly.</para>
aed857
+        </listitem>
aed857
       </varlistentry>
aed857
 
aed857
       <varlistentry>