aboutsummaryrefslogtreecommitdiffstats
path: root/event.d
diff options
context:
space:
mode:
Diffstat (limited to 'event.d')
-rw-r--r--event.d/console16
1 files changed, 16 insertions, 0 deletions
diff --git a/event.d/console b/event.d/console
new file mode 100644
index 00000000..732a3fa9
--- /dev/null
+++ b/event.d/console
@@ -0,0 +1,16 @@
+# console - getty
+#
+# This service maintains a getty on console from the point the system is
+# started until it is shut down again.
+
+start on stopped rc2
+start on stopped rc3
+start on stopped rc4
+start on started prefdm
+
+stop on runlevel 0
+stop on runlevel 1
+stop on runlevel 6
+
+respawn
+exec /sbin/mingetty console