From d4a1f69fe35038ac36168d33c66d46e819c71895 Mon Sep 17 00:00:00 2001 From: Matthew Monaco Date: Sun, 4 Nov 2012 21:30:42 -0700 Subject: [PATCH] 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 --- docs/kmscon@.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/kmscon@.service 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