X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Frescue.service.m4;h=241c75071f635d42517ee8f830e7ec554388a62b;hb=ac1234459056864aeb04053fdfe9b0001fc32590;hp=8b42e9f690c75fbde95099b3d9ea0ad70038ef23;hpb=1de4d79bf554946f486adf56ed765c5335816f15;p=elogind.git diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index 8b42e9f69..241c75071 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -13,9 +13,6 @@ DefaultDependencies=no Conflicts=shutdown.target After=basic.target Before=shutdown.target -m4_ifdef(`TARGET_MANDRIVA', -`# Hide SysV script -Names=single.service') [Service] Environment=HOME=/root @@ -31,7 +28,7 @@ ExecStart=-/bin/bash -c "exec ${SINGLE}"', `ExecStart=-/sbin/sulogin')) ExecStopPost=-/bin/systemctl --fail default StandardInput=tty-force -KillMode=process-group +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.