units: order systemd-fsck@.service after local-fs-pre.target.
With this change, it becomes possible to order a unit to activate before any modifications to the file systems. This is especially useful for supporting resume from hibernation.
This commit is contained in:
parent
3c56cab441
commit
66f311206e
|
@ -10,7 +10,7 @@ Description=File System Check on %f
|
||||||
Documentation=man:systemd-fsck@.service(8)
|
Documentation=man:systemd-fsck@.service(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
BindsTo=%i.device
|
BindsTo=%i.device
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device systemd-fsck-root.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device systemd-fsck-root.service local-fs-pre.target
|
||||||
Before=shutdown.target
|
Before=shutdown.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
Loading…
Reference in a new issue