meta-digi/meta-digi-dey/recipes-digi/auto-serial-console/auto-serial-console/auto-getty.service

27 lines
744 B
Desktop File

# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# 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 Auto-Getty
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service
# 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]
ExecStart=/usr/bin/auto-getty
Type=idle
Restart=always
RestartSec=0
[Install]
WantedBy=getty.target