]> git.proxmox.com Git - pve-container.git/blob - src/test/test-opensuse-004/usr/lib/systemd/system/container-getty@.service
setup/suse: support tumbleweed container
[pve-container.git] / src / test / test-opensuse-004 / usr / lib / systemd / system / container-getty@.service
1 [Unit]
2 Description=Container Getty on /dev/pts/%I
3 Documentation=man:agetty(8) man:machinectl(1)
4 After=systemd-user-sessions.service plymouth-quit-wait.service
5 After=rc-local.service
6 Before=getty.target
7 IgnoreOnIsolate=yes
8 ConditionPathExists=/dev/pts/%I
9
10 [Service]
11 # The '-o' option value tells agetty to replace 'login' arguments with an
12 # option to preserve environment (-p), followed by '--' for safety, and then
13 # the entered username.
14 ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud pts/%I 115200,38400,9600 $TERM
15 Type=idle
16 Restart=always
17 RestartSec=0
18 UtmpIdentifier=pts/%I
19 TTYPath=/dev/pts/%I
20 TTYReset=yes
21 TTYVHangup=yes
22 KillMode=process
23 IgnoreSIGPIPE=no
24 SendSIGHUP=yes