mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
units: make sure container-getty@.service stops restarting when the pts device it is bound to is gone
We only want to restart the getty as long as the pts device is still around. As soon as it is gone, the service should be removed to. http://lists.freedesktop.org/archives/systemd-devel/2014-December/026048.html
This commit is contained in:
parent
088c357d13
commit
68ac53e62f
Notes:
Lennart Poettering
2014-12-09 20:49:02 +01:00
Backport: bugfix
|
@ -14,6 +14,7 @@ After=rc-local.service
|
|||
)m4_dnl
|
||||
Before=getty.target
|
||||
IgnoreOnIsolate=yes
|
||||
ConditionPathExists=/dev/pts/%I
|
||||
|
||||
[Service]
|
||||
ExecStart=-/sbin/agetty --noclear --keep-baud pts/%I 115200,38400,9600 $TERM
|
||||
|
|
Loading…
Reference in a new issue