summaryrefslogtreecommitdiff
path: root/man/systemd.kill.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-30 01:54:59 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-30 01:54:59 +0200
commit82659fd7571bda0f3dce9755b89a23c411d53dda (patch)
tree00ea49ad7be58cc9630f249ad8c7def09939daf7 /man/systemd.kill.xml
parent5a4555ba6bc8ea086823fb71cb1cb92d4ec087a2 (diff)
core: optionally send SIGHUP in addition to the configured kill signal
This is useful to fake session ends for processes like shells.
Diffstat (limited to 'man/systemd.kill.xml')
-rw-r--r--man/systemd.kill.xml34
1 files changed, 27 insertions, 7 deletions
diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml
index 2a810e257..517a89177 100644
--- a/man/systemd.kill.xml
+++ b/man/systemd.kill.xml
@@ -115,16 +115,21 @@
<option>control-group</option>.</para>
<para>Processes will first be
- terminated via <constant>SIGTERM</constant> (unless the
- signal to send is changed via
- <varname>KillSignal=</varname>). If
+ terminated via
+ <constant>SIGTERM</constant> (unless
+ the signal to send is changed via
+ <varname>KillSignal=</varname>). Optionally,
+ this is immediately followed by a
+ <constant>SIGHUP</constant> (if
+ enabled with
+ <varname>SendSIGHUP=</varname>). If
then after a delay (configured via the
- <varname>TimeoutSec=</varname> option)
+ <varname>TimeoutStopSec=</varname> option)
processes still remain, the
termination request is repeated with
- the <constant>SIGKILL</constant> signal (unless this is
- disabled via the
- <varname>SendSIGKILL=</varname>
+ the <constant>SIGKILL</constant>
+ signal (unless this is disabled via
+ the <varname>SendSIGKILL=</varname>
option). See
<citerefentry><refentrytitle>kill</refentrytitle><manvolnum>2</manvolnum></citerefentry>
for more
@@ -140,6 +145,20 @@
</varlistentry>
<varlistentry>
+ <term><varname>SendSIGHUP=</varname></term>
+ <listitem><para>Specifies whether to
+ send <constant>SIGHUP</constant> to
+ remaining processes immediately after
+ sending the signal configured with
+ <varname>KillSignal=</varname>. This
+ is useful to indicate to shells and
+ shell-like programs that their
+ connection has been severed. Takes a
+ boolean value. Defaults to "no".
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>SendSIGKILL=</varname></term>
<listitem><para>Specifies whether to
send <constant>SIGKILL</constant> to remaining processes
@@ -149,6 +168,7 @@
value. Defaults to "yes".
</para></listitem>
</varlistentry>
+
</variablelist>
</refsect1>