summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service')
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service16
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 8eeaab697c..1c14dfea6a 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -1,23 +1,27 @@
1# This file is part of systemd. 1# This file is part of systemd.
2# 2#
3# systemd is free software; you can redistribute it and/or modify it 3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by 4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or 5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version. 6# (at your option) any later version.
7 7
8[Unit] 8[Unit]
9Description=Serial Getty on %I 9Description=Serial Getty on %I
10BindTo=dev-%i.device 10Documentation=man:agetty(8) man:systemd-getty-generator(8)
11After=dev-%i.device systemd-user-sessions.service 11Documentation=http://0pointer.de/blog/projects/serial-console.html
12BindsTo=dev-%i.device
13After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
14After=rc-local.service
12 15
13# If additional gettys are spawned during boot then we should make 16# If additional gettys are spawned during boot then we should make
14# sure that this is synchronized before getty.target, even though 17# sure that this is synchronized before getty.target, even though
15# getty.target didn't actually pull it in. 18# getty.target didn't actually pull it in.
16Before=getty.target 19Before=getty.target
20IgnoreOnIsolate=yes
17 21
18[Service] 22[Service]
19Environment=TERM=vt100 23ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102
20ExecStart=-/sbin/agetty -s %I @BAUDRATE@ 24Type=idle
21Restart=always 25Restart=always
22RestartSec=0 26RestartSec=0
23UtmpIdentifier=%I 27UtmpIdentifier=%I