Add kmscon@.service

This almost certainly can be optimized, but we should be able to mask
getty@.service with kmscon@.service.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
Matthew Monaco 2012-11-04 21:30:42 -07:00 committed by David Herrmann
parent 75f59c54ba
commit d4a1f69fe3

14
docs/kmscon@.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=KMS System Console on %i
Documentation=man:kmscon(1)
After=systemd-user-sessions.service
Before=getty.target
IgnoreOnIsolate=yes
[Service]
ExecStart=-/usr/bin/kmscon --vt=%i -l /bin/login
UtmpIdentifier=%I
KillMode=process
[Install]
Alias=getty.target.wants/kmscon@%I.service