systemd: add kmscon@.service

This almost certainly can be optimized, but we should be able to mask
getty@.service with kmscon@.service.
This commit is contained in:
Matthew Monaco 2012-11-04 21:30:42 -07:00
parent 68af064040
commit fb568f62cd

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