2 .TH "SYSTEMD\&.KILL" "5" "" "systemd 218" "systemd.kill"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
17 .\" disable justification (adjust text to left margin only)
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
23 systemd.kill \- Process killing procedure configuration
26 \fIservice\fR\&.service,
27 \fIsocket\fR\&.socket,
33 Unit configuration files for services, sockets, mount points, swap devices and scopes share a subset of configuration options which define the killing procedure of processes belonging to the unit\&.
35 This man page lists the configuration options shared by these five unit types\&. See
37 for the common options shared by all unit configuration files, and
38 \fBsystemd.service\fR(5),
39 \fBsystemd.socket\fR(5),
40 \fBsystemd.swap\fR(5),
41 \fBsystemd.mount\fR(5)
43 \fBsystemd.scope\fR(5)
44 for more information on the configuration file options specific to each unit type\&.
46 The kill procedure configuration options are configured in the [Service], [Socket], [Mount] or [Swap] section, depending on the unit type\&.
51 Specifies how processes of this unit shall be killed\&. One of
58 \fBcontrol\-group\fR, all remaining processes in the control group of this unit will be killed on unit stop (for services: after the stop command is executed, as configured with
59 \fIExecStop=\fR)\&. If set to
60 \fBprocess\fR, only the main process itself is killed\&. If set to
63 signal (see below) is sent to the main process while the subsequent
65 signal (see below) is sent to all remaining processes of the unit\*(Aqs control group\&. If set to
66 \fBnone\fR, no process is killed\&. In this case, only the stop command will be executed on unit stop, but no process be killed otherwise\&. Processes remaining alive after stop are left in their control group and the control group continues to exist after stop unless it is empty\&.
68 Processes will first be terminated via
70 (unless the signal to send is changed via
71 \fIKillSignal=\fR)\&. Optionally, this is immediately followed by a
74 \fISendSIGHUP=\fR)\&. If then, after a delay (configured via the
76 option), processes still remain, the termination request is repeated with the
78 signal (unless this is disabled via the
82 for more information\&.
85 \fBcontrol\-group\fR\&.
90 Specifies which signal to use when killing a service\&. This controls the signal that is sent as first step of shutting down a unit (see above), and is usually followed by
92 (see above and below)\&. For a list of valid signals, see
93 \fBsignal\fR(7)\&. Defaults to
99 Specifies whether to send
101 to remaining processes immediately after sending the signal configured with
102 \fIKillSignal=\fR\&. This is useful to indicate to shells and shell\-like programs that their connection has been severed\&. Takes a boolean value\&. Defaults to "no"\&.
107 Specifies whether to send
109 to remaining processes after a timeout, if the normal shutdown procedure left processes of the service around\&. Takes a boolean value\&. Defaults to "yes"\&.
116 \fBsystemd.unit\fR(5),
117 \fBsystemd.service\fR(5),
118 \fBsystemd.socket\fR(5),
119 \fBsystemd.swap\fR(5),
120 \fBsystemd.mount\fR(5),
121 \fBsystemd.exec\fR(5),
122 \fBsystemd.directives\fR(7),