diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-09-15 14:58:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-09-15 14:59:11 +0200 |
commit | 3449814b8bda96e0a7d14fe1287f85ba9b269d8e (patch) | |
tree | 4a13c07f5ddf9e636b9a3721deb67dc73128ecbd /units/systemd-ask-password-console.service | |
parent | units: add ordering dependencies on initrd-switch-root.target (diff) | |
download | systemd-3449814b8bda96e0a7d14fe1287f85ba9b269d8e.tar.xz systemd-3449814b8bda96e0a7d14fe1287f85ba9b269d8e.zip |
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.service')
-rw-r--r-- | units/systemd-ask-password-console.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-ask-password-console.service b/units/systemd-ask-password-console.service index 9360bf1d5a..afd0f0baad 100644 --- a/units/systemd-ask-password-console.service +++ b/units/systemd-ask-password-console.service @@ -16,6 +16,7 @@ ConditionPathExists=!/run/plymouth/pid DefaultDependencies=no After=plymouth-start.service systemd-vconsole-setup.service Conflicts=emergency.service +Before=emergency.service Conflicts=shutdown.target initrd-switch-root.target Before=shutdown.target initrd-switch-root.target |