systemd-ask-password: make sure directory watch is started before cryptsetup (#3850)
The password directory watch should get ordered before cryptsetup to make sure that the password for unlocking the crypt device gets prompted.
This commit is contained in:
parent
a912ab0474
commit
7633f8ef37
|
@ -11,7 +11,7 @@ Documentation=man:systemd-ask-password-console.service(8)
|
|||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=plymouth-start.service
|
||||
Before=paths.target shutdown.target
|
||||
Before=paths.target shutdown.target cryptsetup.target
|
||||
ConditionPathExists=!/run/plymouth/pid
|
||||
|
||||
[Path]
|
||||
|
|
|
@ -10,7 +10,7 @@ Description=Forward Password Requests to Wall Directory Watch
|
|||
Documentation=man:systemd-ask-password-console.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Before=paths.target shutdown.target
|
||||
Before=paths.target shutdown.target cryptsetup.target
|
||||
|
||||
[Path]
|
||||
DirectoryNotEmpty=/run/systemd/ask-password
|
||||
|
|
Loading…
Reference in New Issue