summaryrefslogtreecommitdiff
path: root/units/systemd-ask-password-console.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-ask-password-console.service')
-rw-r--r--units/systemd-ask-password-console.service10
1 files changed, 7 insertions, 3 deletions
diff --git a/units/systemd-ask-password-console.service b/units/systemd-ask-password-console.service
index d31f3fa70f..afd0f0baad 100644
--- a/units/systemd-ask-password-console.service
+++ b/units/systemd-ask-password-console.service
@@ -10,11 +10,15 @@
[Unit]
Description=Dispatch Password Requests to Console
Documentation=man:systemd-ask-password-console.service(8)
+
+ConditionPathExists=!/run/plymouth/pid
+
DefaultDependencies=no
-Conflicts=shutdown.target emergency.service
After=plymouth-start.service systemd-vconsole-setup.service
-Before=shutdown.target
-ConditionPathExists=!/run/plymouth/pid
+Conflicts=emergency.service
+Before=emergency.service
+Conflicts=shutdown.target initrd-switch-root.target
+Before=shutdown.target initrd-switch-root.target
[Service]
ExecStart=systemd-tty-ask-password-agent --watch --console