chiark / gitweb /
units/suse: let rc-local.service log to syslog
[elogind.git] / units / console-shell.service.m4
index c98a08fccc7e05bb369e6cd2430d0b455d88788c..02adc8403bce675aec336ec6a981c533f7bdb3d8 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,9 @@ WorkingDirectory=/root
 ExecStart=-/sbin/sulogin
 ExecStopPost=-/bin/systemctl poweroff
 StandardInput=tty-force
-KillMode=process-group
+StandardOutput=inherit
+StandardError=inherit
+KillMode=process
 
 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
 # terminates cleanly.