mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 10:43:35 +08:00
7633f8ef37
The password directory watch should get ordered before cryptsetup to make sure that the password for unlocking the crypt device gets prompted.
20 lines
664 B
SYSTEMD
20 lines
664 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Dispatch Password Requests to Console Directory Watch
|
|
Documentation=man:systemd-ask-password-console.service(8)
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
After=plymouth-start.service
|
|
Before=paths.target shutdown.target cryptsetup.target
|
|
ConditionPathExists=!/run/plymouth/pid
|
|
|
|
[Path]
|
|
DirectoryNotEmpty=/run/systemd/ask-password
|
|
MakeDirectory=yes
|