chiark / gitweb /
local-fs: invoke emergency.service mounting at boot fails
[elogind.git] / units / systemd-ask-password-wall.service.in
index e810fe3097a2715e5c3b59925781bc759bb808ca..71ec1d68f85fd9696af6ff17e2dadaf8c77e6d20 100644 (file)
@@ -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