summaryrefslogtreecommitdiff
path: root/man/systemd.kill.xml
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.ibm.com>2019-01-16 21:20:18 +1100
committerDaniel Black <daniel@linux.ibm.com>2019-01-29 15:35:59 +1100
commitc53d2d54bd29bd6f4c21705ae23425ade8c12167 (patch)
tree99a279fe88a0c143f3c707ef881e8920cc9f5a14 /man/systemd.kill.xml
parent61a38e02650b8e7f097cadaa40aab0847605a383 (diff)
downloadsystemd-c53d2d54bd29bd6f4c21705ae23425ade8c12167.tar.gz
service: make killmode=cgroup|mixed, SendSIGKILL=no services singletons
KillMode=mixed and control group are used to indicate that all process should be killed off. SendSIGKILL is used for services that require a clean shutdown. These are typically database service where a SigKilled process would result in a lengthy recovery and who's shutdown or startup time is quite variable (so Timeout settings aren't of use). Here we take these two factors and refuse to start a service if there are existing processes within a control group. Databases, while generally having some protection against multiple instances running, lets not stress the rigor of these. Also ExecStartPre parts of the service aren't as rigoriously written to protect against against multiple use. closes #8630
Diffstat (limited to 'man/systemd.kill.xml')
-rw-r--r--man/systemd.kill.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml
index 9b264ecbf5..64e2ea79bf 100644
--- a/man/systemd.kill.xml
+++ b/man/systemd.kill.xml
@@ -139,8 +139,11 @@
<constant>SIGKILL</constant> (or the signal specified by
<varname>FinalKillSignal=</varname>) to remaining processes
after a timeout, if the normal shutdown procedure left
- processes of the service around. Takes a boolean value.
- Defaults to "yes".
+ processes of the service around. When disabled, a
+ <varname>KillMode=</varname> of <constant>control-group</constant>
+ or <constant>mixed</constant> service will not restart if
+ processes from prior services exist within the control group.
+ Takes a boolean value. Defaults to "yes".
</para></listitem>
</varlistentry>