X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fserial-getty%40.service.m4;h=ed6912d0347ea48898d0e07293b17c52cfb5c349;hb=7527cb527598aaabf0ed9b38a352edb28536392a;hp=082290cb8b185a8d8dc02ef4d3dc521743e0f4bb;hpb=6ea832a20700f5282c08c70f38422c6ab290a0b5;p=elogind.git diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index 082290cb8..ed6912d03 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -1,8 +1,8 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] @@ -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.