summaryrefslogtreecommitdiff
path: root/units/systemd-vconsole-setup.service.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-31 10:36:30 -0500
committerGitHub <noreply@github.com>2017-01-31 10:36:30 -0500
commitfccdf28c86a61714b9d611edcdc5db61a0eb2ede (patch)
tree8f04840bd1a4363df953c72e0b7229a183b6b540 /units/systemd-vconsole-setup.service.in
parent877777d77690d741c93404fd176da7f5327c2878 (diff)
parent750e550eba362096d56a35104c6a32631aa67b8e (diff)
Merge pull request #5192 from keszybz/systemctl-ignore-sigterm
Fix for initrd-switch-root failing and causing emergency.target to be started.
Diffstat (limited to 'units/systemd-vconsole-setup.service.in')
-rw-r--r--units/systemd-vconsole-setup.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in
index 2bd1fd1a5d..8bb75c6a4f 100644
--- a/units/systemd-vconsole-setup.service.in
+++ b/units/systemd-vconsole-setup.service.in
@@ -9,6 +9,7 @@
Description=Setup Virtual Console
Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5)
DefaultDependencies=no
+Before=initrd-switch-root.target shutdown.target
ConditionPathExists=/dev/tty0
[Service]