summaryrefslogtreecommitdiff
path: root/units/systemd-ask-password-console.path
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-09-15 14:58:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-09-15 14:59:11 +0200
commit3449814b8bda96e0a7d14fe1287f85ba9b269d8e (patch)
tree4a13c07f5ddf9e636b9a3721deb67dc73128ecbd /units/systemd-ask-password-console.path
parent7c0e2b555968d70ac563a37e32a6931ee90961a6 (diff)
downloadsystemd-3449814b8bda96e0a7d14fe1287f85ba9b269d8e.tar.gz
units: add dependency ordering for emergency.service conflicts
If we want to stop those services which would compete for access to the console, we need to have an ordering so that they are actually stopped before the other things starts, not asynchronously.
Diffstat (limited to 'units/systemd-ask-password-console.path')
-rw-r--r--units/systemd-ask-password-console.path1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-ask-password-console.path b/units/systemd-ask-password-console.path
index 997fe0ff0c..5277db9a8d 100644
--- a/units/systemd-ask-password-console.path
+++ b/units/systemd-ask-password-console.path
@@ -17,6 +17,7 @@ DefaultDependencies=no
After=plymouth-start.service
Before=paths.target cryptsetup.target
Conflicts=emergency.service
+Before=emergency.service
Conflicts=shutdown.target
Before=shutdown.target