summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthew Monaco <matthew.monaco@0x01b.net>2012-11-04 21:30:42 -0700
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-11-05 17:36:57 +0100
commitd4a1f69fe35038ac36168d33c66d46e819c71895 (patch)
tree41ba5683b0b15df50ee6e13e945bb46367b539a4 /docs
parent75f59c54ba371929a2c95ba1a0c3a49d7b043685 (diff)
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>
Diffstat (limited to 'docs')
-rw-r--r--docs/kmscon@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/kmscon@.service b/docs/kmscon@.service
new file mode 100644
index 0000000..a75967e
--- /dev/null
+++ b/docs/kmscon@.service
@@ -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