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=a7cd451aed5815088896d0c4f49c7ee09075ea40;hb=99e68c0b2d6ca9d491036920fcbca4c8d54404a8;hpb=8cf3a8a982661c0bb9b04ff27f6d486b38b1b35e diff --git a/units/systemd-ask-password-plymouth.service.in b/units/systemd-ask-password-plymouth.service.in index a7cd451ae..92cbfdbf0 100644 --- a/units/systemd-ask-password-plymouth.service.in +++ b/units/systemd-ask-password-plymouth.service.in @@ -8,8 +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