X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.kill.xml;h=1b10fba9d53d22b9b7b7f5ca0dbd4075a8561923;hp=5ff8feee6345a814601700336057c706e6f7764a;hb=f24e86530ce0645e88022497af7d238f9c366946;hpb=ccc9a4f9ffdab069b0b785627c48962fdadf6d46 diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml index 5ff8feee6..1b10fba9d 100644 --- a/man/systemd.kill.xml +++ b/man/systemd.kill.xml @@ -48,10 +48,10 @@ - systemd.service, - systemd.socket, - systemd.mount, - systemd.swap + service.service, + socket.socket, + mount.mount, + swap.swap @@ -94,16 +94,16 @@ . If set to - all + , all remaining processes in the control group of this unit will be terminated on unit stop (for services: after the stop command is executed, as configured with ExecStop=). If set - to only the + to , only the main process itself is killed. If set - to no process is + to , no process is killed. In this case only the stop command will be executed on unit stop, but no process be killed @@ -115,16 +115,21 @@ . Processes will first be - terminated via SIGTERM (unless the - signal to send is changed via - KillSignal=). If - then after a delay (configured via the - TimeoutSec= option) + terminated via + SIGTERM (unless + the signal to send is changed via + KillSignal=). Optionally, + this is immediately followed by a + SIGHUP (if + enabled with + SendSIGHUP=). If + then, after a delay (configured via the + TimeoutStopSec= option), processes still remain, the termination request is repeated with - the SIGKILL signal (unless this is - disabled via the - SendSIGKILL= + the SIGKILL + signal (unless this is disabled via + the SendSIGKILL= option). See kill2 for more @@ -135,20 +140,35 @@ KillSignal= Specifies which signal to use when killing a - service. Defaults to SIGTERM. + service. Defaults to SIGTERM. + + + + + SendSIGHUP= + Specifies whether to + send SIGHUP to + remaining processes immediately after + sending the signal configured with + KillSignal=. This + is useful to indicate to shells and + shell-like programs that their + connection has been severed. Takes a + boolean value. Defaults to "no". SendSIGKILL= Specifies whether to - send SIGKILL to remaining processes + 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". +