chiark / gitweb /
unit: properly update references to units which are merged
[elogind.git] / units / systemd-ask-password-plymouth.path
index a2aec44122bd790dcea48e4ef3c0ce9df8f29840..06a587620f6ab757eac1aeea1ab17f0c19438a74 100644 (file)
@@ -8,8 +8,12 @@
 [Unit]
 Description=Forward Password Requests to Plymouth Directory Watch
 DefaultDependencies=no
 [Unit]
 Description=Forward Password Requests to Plymouth Directory Watch
 DefaultDependencies=no
-Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
+Conflicts=shutdown.target
+After=plymouth-start.service
 Before=basic.target shutdown.target
 Before=basic.target shutdown.target
+ConditionKernelCommandLine=!plymouth.enable=0
+ConditionPathExists=/run/plymouth/pid
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
+MakeDirectory=yes