X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fserial-getty%40.service.m4;h=fa386ea0d453b81ef4f2bffb37b7f9341f7bf81d;hb=c9bc07646100855ff8193e1e62c52b77327e264d;hp=d1d14d35e6596bbe4991df8fa33eda97f4ec1d46;hpb=4771148bb92ace55eaa6759a53d04a0f2de9b0d2;p=elogind.git diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index d1d14d35e..fa386ea0d 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -1,12 +1,13 @@ # 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] Description=Serial Getty on %I +Documentation=man:agetty(8) man:systemd-getty-generator(8) BindTo=dev-%i.device After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`TARGET_FEDORA', @@ -35,8 +36,9 @@ Before=getty.target IgnoreOnIsolate=yes [Service] -Environment=TERM=vt100 +Environment=TERM=vt102 ExecStart=-/sbin/agetty -s %I 115200,38400,9600 +Type=idle Restart=always RestartSec=0 UtmpIdentifier=%I