X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-ask-password-plymouth.service.in;h=92cbfdbf09ada045aec435adc393c280ac9be574;hp=2e071bdc86136c5db5d65b3e8a68ed85d2ce8442;hb=4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6;hpb=8e4fb44ab0f853ff8faedcaa2cbc58b80eda9611 diff --git a/units/systemd-ask-password-plymouth.service.in b/units/systemd-ask-password-plymouth.service.in index 2e071bdc8..92cbfdbf0 100644 --- a/units/systemd-ask-password-plymouth.service.in +++ b/units/systemd-ask-password-plymouth.service.in @@ -8,9 +8,11 @@ [Unit] Description=Forward Password Requests to Plymouth DefaultDependencies=no -Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service +Conflicts=shutdown.target +After=plymouth-start.service Before=shutdown.target ConditionKernelCommandLine=!plymouth.enable=0 +ConditionPathExists=/run/plymouth/pid [Service] ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth