summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-27 14:28:45 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-27 14:31:44 +0100
commite87bc3ef67a892e2b3dba753190675e5f9b592b5 (patch)
tree7e3aad12f89f39ea3085f052cd1ee71a7ddbbb35 /units
parentc62c4628d9dbc27effd36143c75abe528f561867 (diff)
units: fix all TTY paths for container gettys
Spotted by Christian Seiler: http://lists.freedesktop.org/archives/systemd-devel/2015-January/027441.html
Diffstat (limited to 'units')
-rw-r--r--units/container-getty@.service.m4.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/container-getty@.service.m4.in b/units/container-getty@.service.m4.in
index 5120466929..e126f3a489 100644
--- a/units/container-getty@.service.m4.in
+++ b/units/container-getty@.service.m4.in
@@ -21,8 +21,8 @@ ExecStart=-/sbin/agetty --noclear --keep-baud pts/%I 115200,38400,9600 $TERM
Type=idle
Restart=always
RestartSec=0
-UtmpIdentifier=%I
-TTYPath=/dev/%I
+UtmpIdentifier=pts/%I
+TTYPath=/dev/pts/%I
TTYReset=yes
TTYVHangup=yes
KillMode=process