diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-30 01:54:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-30 01:54:59 +0200 |
commit | 82659fd7571bda0f3dce9755b89a23c411d53dda (patch) | |
tree | 00ea49ad7be58cc9630f249ad8c7def09939daf7 /units/rescue.service.m4.in | |
parent | 5a4555ba6bc8ea086823fb71cb1cb92d4ec087a2 (diff) |
core: optionally send SIGHUP in addition to the configured kill signal
This is useful to fake session ends for processes like shells.
Diffstat (limited to 'units/rescue.service.m4.in')
-rw-r--r-- | units/rescue.service.m4.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in index 269797a12e..552ef8981b 100644 --- a/units/rescue.service.m4.in +++ b/units/rescue.service.m4.in @@ -25,7 +25,5 @@ StandardInput=tty-force StandardOutput=inherit StandardError=inherit KillMode=process - -# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash -# terminates cleanly. -KillSignal=SIGHUP +IgnoreSIGPIPE=no +SendSIGHUP=yes |