From 82659fd7571bda0f3dce9755b89a23c411d53dda Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Jul 2013 01:54:59 +0200 Subject: core: optionally send SIGHUP in addition to the configured kill signal This is useful to fake session ends for processes like shells. --- units/serial-getty@.service.m4 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'units/serial-getty@.service.m4') diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index 5e16963e92..e32c6b7aff 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -32,7 +32,4 @@ TTYReset=yes TTYVHangup=yes KillMode=process IgnoreSIGPIPE=no - -# Some login implementations ignore SIGTERM, so we send SIGHUP -# instead, to ensure that login terminates cleanly. -KillSignal=SIGHUP +SendSIGHUP=yes -- cgit v1.2.3-54-g00ecf