container-getty@.service 791 B

12345678910111213141516171819202122232425262728
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Container Getty on /dev/pts/%I
  9. Documentation=man:agetty(8) man:machinectl(1)
  10. After=systemd-user-sessions.service plymouth-quit-wait.service
  11. After=rc-local.service
  12. Before=getty.target
  13. IgnoreOnIsolate=yes
  14. ConditionPathExists=/dev/pts/%I
  15. [Service]
  16. ExecStart=-/sbin/agetty --noclear --keep-baud pts/%I 115200,38400,9600 $TERM
  17. Type=idle
  18. Restart=always
  19. RestartSec=0
  20. UtmpIdentifier=pts/%I
  21. TTYPath=/dev/pts/%I
  22. TTYReset=yes
  23. TTYVHangup=yes
  24. KillMode=process
  25. IgnoreSIGPIPE=no
  26. SendSIGHUP=yes