diff options
Diffstat (limited to 'recipes/systemd/files/getty-serial@.service')
-rw-r--r-- | recipes/systemd/files/getty-serial@.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/systemd/files/getty-serial@.service b/recipes/systemd/files/getty-serial@.service new file mode 100644 index 0000000000..62e4695243 --- /dev/null +++ b/recipes/systemd/files/getty-serial@.service @@ -0,0 +1,19 @@ +# 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 +# (at your option) any later version. + +[Unit] +Description=Getty on %I +Before=getty.target +After=basic.target +Conflicts=shutdown.target + +[Service] +Environment=TERM=linux +ExecStart=/sbin/getty @BAUDRATE@ %I +Restart=restart-always +RestartSec=0 +KillMode=process-group |