chiark / gitweb /
analyze: Cosmetic exit when the bootup is not yet complete when plotting.
[elogind.git] / units / console-shell.service.m4
index c98a08fccc7e05bb369e6cd2430d0b455d88788c..fef9e1b176265c9d7cca18ff406a836b6ea7b994 100644 (file)
@@ -23,6 +23,9 @@ After=rc-local.service
 m4_ifdef(`TARGET_MANDRIVA',
 After=rc-local.service
 )m4_dnl
+m4_ifdef(`TARGET_MAGEIA',
+After=rc-local.service
+)m4_dnl
 Before=getty.target
 
 [Service]
@@ -31,7 +34,10 @@ WorkingDirectory=/root
 ExecStart=-/sbin/sulogin
 ExecStopPost=-/bin/systemctl poweroff
 StandardInput=tty-force
-KillMode=process-group
+StandardOutput=inherit
+StandardError=inherit
+KillMode=process
+IgnoreSIGPIPE=no
 
 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
 # terminates cleanly.