X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fconsole-shell.service.m4.in;h=5c807228294e099a319b8d0561e3bf78820bf20d;hp=dac2ac212bfddf9f7dc6baf3aad8797cd6514049;hb=66f2ff06ca4ee5ea686b884e2923a31832ad8fe4;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/units/console-shell.service.m4.in b/units/console-shell.service.m4.in index dac2ac212..5c8072282 100644 --- a/units/console-shell.service.m4.in +++ b/units/console-shell.service.m4.in @@ -17,7 +17,7 @@ Before=getty.target [Service] Environment=HOME=/root WorkingDirectory=/root -ExecStart=-/sbin/sulogin +ExecStart=-@SULOGIN@ ExecStopPost=-@SYSTEMCTL@ poweroff Type=idle StandardInput=tty-force @@ -25,10 +25,7 @@ StandardOutput=inherit StandardError=inherit KillMode=process IgnoreSIGPIPE=no - -# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash -# terminates cleanly. -KillSignal=SIGHUP +SendSIGHUP=yes [Install] WantedBy=getty.target