mirror of
https://github.com/systemd/systemd.git
synced 2024-12-18 14:43:33 +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.
18 lines
592 B
SYSTEMD
18 lines
592 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=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 cryptsetup.target
|
|
|
|
[Path]
|
|
DirectoryNotEmpty=/run/systemd/ask-password
|
|
MakeDirectory=yes
|