diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-18 22:55:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-18 22:55:54 +0100 |
commit | ba035df230e41bf9d70ebb47915c9472b7884412 (patch) | |
tree | 37f5af1b2de9a93e15ee36ef080436619cfdbec9 /man/systemd.service.xml | |
parent | 0058d7b91ca90ee2dc605298bc5bac9bef0ededf (diff) |
execute: make sending of SIGKILL on shutdown optional
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index e5262f6d60..ee4d393756 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -560,14 +560,17 @@ <option>control-group</option>.</para> <para>Processes will first be - terminated via SIGTERM (unless this is - changed via + terminated via SIGTERM (unless the + signal to send is changed via <varname>KillSignal=</varname>). If then after a delay (configured via the <varname>TimeoutSec=</varname> option) processes still remain, the termination request is repeated with - the SIGKILL signal. See + the SIGKILL signal (unless this is + disabled via the + <varname>SendSIGKILL=</varname> + option). See <citerefentry><refentrytitle>kill</refentrytitle><manvolnum>2</manvolnum></citerefentry> for more information.</para></listitem> @@ -582,6 +585,17 @@ </varlistentry> <varlistentry> + <term><varname>SendSIGKILL=</varname></term> + <listitem><para>Specifies whether to + send SIGKILL to remaining processes + after a timeout, if the normal + shutdown procedure left processes of + the service around. Takes a boolean + value. Defaults to "yes". + </para></listitem> + </varlistentry> + + <varlistentry> <term><varname>NonBlocking=</varname></term> <listitem><para>Set O_NONBLOCK flag for all file descriptors passed via |