summaryrefslogtreecommitdiffstats
path: root/units/systemd-ask-password-wall.path
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-09-14 13:39:10 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-09-15 14:59:11 +0200
commit9810e419425263bde86787bc21251f1ad3c35628 (patch)
tree1ba29f7dd8a3e3014a992677688f995400408c7b /units/systemd-ask-password-wall.path
parentTODO: various things about partitioning (diff)
downloadsystemd-9810e419425263bde86787bc21251f1ad3c35628.tar.xz
systemd-9810e419425263bde86787bc21251f1ad3c35628.zip
units: reorder/split unit dependency blocks
The block is reordered and split to have: 1. description + documentation 2. (optionally) conditions 3. all the dependencies I think it's easier to read the units this way. Also, the Conflicts+Before is seperated out to separate lines. The ordering dependency is "fake", because it could just as well be After=, we are adding it to force ordering wrt. shutdown.target, and it plays a different role than the other Before=, which are about a real ordering on boot.
Diffstat (limited to 'units/systemd-ask-password-wall.path')
-rw-r--r--units/systemd-ask-password-wall.path7
1 files changed, 5 insertions, 2 deletions
diff --git a/units/systemd-ask-password-wall.path b/units/systemd-ask-password-wall.path
index 13e1dae672..e3b6c61346 100644
--- a/units/systemd-ask-password-wall.path
+++ b/units/systemd-ask-password-wall.path
@@ -10,9 +10,12 @@
[Unit]
Description=Forward Password Requests to Wall Directory Watch
Documentation=man:systemd-ask-password-wall.path(8)
+
DefaultDependencies=no
-Conflicts=shutdown.target emergency.service
-Before=paths.target shutdown.target cryptsetup.target
+Before=paths.target cryptsetup.target
+Conflicts=emergency.service
+Conflicts=shutdown.target
+Before=shutdown.target
[Path]
DirectoryNotEmpty=/run/systemd/ask-password