summaryrefslogtreecommitdiff
path: root/units/systemd-ask-password-wall.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-ask-password-wall.service.in')
-rw-r--r--units/systemd-ask-password-wall.service.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/systemd-ask-password-wall.service.in b/units/systemd-ask-password-wall.service.in
index e810fe3097..71ec1d68f8 100644
--- a/units/systemd-ask-password-wall.service.in
+++ b/units/systemd-ask-password-wall.service.in
@@ -7,7 +7,9 @@
[Unit]
Description=Forward Password Requests to Wall
-After=getty.target
+After=systemd-user-sessions.service
[Service]
+ExecStartPre=-@rootbindir@/systemctl stop systemd-ask-password-console.path systemd-ask-password-console.service
+ExecStartPre=-@rootbindir@/systemctl stop systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service
ExecStart=@rootbindir@/systemd-tty-ask-password-agent --wall