mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-02 09:47:03 +03:00
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. (cherry picked from commit 3449814b8bda96e0a7d14fe1287f85ba9b269d8e)
This commit is contained in:
parent
6535813084
commit
45fb64c54b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -14,6 +14,7 @@ Documentation=man:systemd-ask-password-wall.path(8)
|
||||
DefaultDependencies=no
|
||||
Before=paths.target cryptsetup.target
|
||||
Conflicts=emergency.service
|
||||
Before=emergency.service
|
||||
Conflicts=shutdown.target
|
||||
Before=shutdown.target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user