X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fserial-getty%40.service.m4;h=d61f93cec3934bcae7038b44042b861b262efb0d;hp=d1d14d35e6596bbe4991df8fa33eda97f4ec1d46;hb=c617f5a96d474a93e9cf38fbd97af257a08c40df;hpb=4771148bb92ace55eaa6759a53d04a0f2de9b0d2 diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index d1d14d35e..d61f93cec 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) 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