mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 18:53:33 +08:00
units: order cryptsetup-pre.target before cryptsetup.target
Normally this happens automatically, but if it happened that both targets were pulled in, even though there were no cryptsetup units, they could be started in reverse order, which would be somewhat confusing. Add an explicit ordering to avoid this potential issue.
This commit is contained in:
parent
2f34bead2c
commit
947d21171b
@ -9,3 +9,4 @@
|
||||
Description=Encrypted Volumes (Pre)
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
Before=cryptsetup.target
|
||||
|
Loading…
Reference in New Issue
Block a user