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=3fff2f57e64d33aa9d9c31ee70c5f90ba884a0ec;hb=fa7abba2328eb2d23a7e27708f86f5013059ddcf;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml index 3fff2f57e..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 @@ -82,7 +82,7 @@ Options - + KillMode= @@ -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". + @@ -163,7 +183,8 @@ systemd.socket5, systemd.swap5, systemd.mount5, - systemd.exec5 + systemd.exec5, + systemd.directives7