chiark / gitweb /
units: exclude gettys from isolate requests
[elogind.git] / units / serial-getty@.service.m4
index 082290cb8b185a8d8dc02ef4d3dc521743e0f4bb..d1d14d35e6596bbe4991df8fa33eda97f4ec1d46 100644 (file)
@@ -24,11 +24,15 @@ After=rc-local.service
 m4_ifdef(`TARGET_MANDRIVA',
 After=rc-local.service
 )m4_dnl
+m4_ifdef(`TARGET_MAGEIA',
+After=rc-local.service
+)m4_dnl
 
 # If additional gettys are spawned during boot then we should make
 # sure that this is synchronized before getty.target, even though
 # getty.target didn't actually pull it in.
 Before=getty.target
+IgnoreOnIsolate=yes
 
 [Service]
 Environment=TERM=vt100
@@ -40,6 +44,7 @@ TTYPath=/dev/%I
 TTYReset=yes
 TTYVHangup=yes
 KillMode=process
+IgnoreSIGPIPE=no
 
 # Some login implementations ignore SIGTERM, so we send SIGHUP
 # instead, to ensure that login terminates cleanly.