summaryrefslogtreecommitdiff
path: root/units/systemd-auto-console-getty.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-17 03:29:46 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-17 03:29:46 +0200
commit5192bd1945f59254b3d260ded15dd9f2b8cc2de7 (patch)
treec9496248fc004d866c40825d4abec9d97cb17b95 /units/systemd-auto-console-getty.service.in
parent16061c20ddd8eba9b9e1ef89149c51114a8084ce (diff)
auto-getty: rework auto console getty logic to work in conjunction with single user mode
Diffstat (limited to 'units/systemd-auto-console-getty.service.in')
-rw-r--r--units/systemd-auto-console-getty.service.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/units/systemd-auto-console-getty.service.in b/units/systemd-auto-console-getty.service.in
new file mode 100644
index 0000000000..6542cab18a
--- /dev/null
+++ b/units/systemd-auto-console-getty.service.in
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Automatically Spawn getty on Kernel Console
+
+[Service]
+Type=oneshot
+ExecStart=@rootlibexecdir@/systemd-auto-console-getty
+
+[Install]
+WantedBy=getty.target