chiark / gitweb /
main: only fall back to /bin/sh in case /sbin/init does not exist
[elogind.git] / units / systemd-vconsole-setup.service.in
index ef222a5f7dce4f649b8b10615ea71e564d00240d..51fc0b5124cc7b7001bb3bdc5c5b0cade7ad1c4c 100644 (file)
@@ -7,10 +7,12 @@
 
 [Unit]
 Description=Setup Virtual Console
+Documentation=man:vconsole.conf(5)
 DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=sysinit.target shutdown.target
+ConditionPathExists=/dev/tty0
 
 [Service]
 Type=oneshot