Skip to content

Commit 947d211

Browse files
committed
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.
1 parent 2f34bea commit 947d211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

units/cryptsetup-pre.target

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
Description=Encrypted Volumes (Pre)
1010
Documentation=man:systemd.special(7)
1111
RefuseManualStart=yes
12+
Before=cryptsetup.target

0 commit comments

Comments
 (0)