summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx100@gmail.com>2014-08-27 00:17:43 +0400
committerLennart Poettering <lennart@poettering.net>2014-08-26 22:19:50 +0200
commit66f311206e908a5b6f21e66fad73e1e5ea3e31d6 (patch)
treeeaaa31cd8d51ec345e4491eb01186f75743ab428 /units
parent3c56cab44150ad47323970cfadfb0257c6305a74 (diff)
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.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-fsck@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-fsck@.service.in b/units/systemd-fsck@.service.in
index c12efa8e76..d2cda6a466 100644
--- a/units/systemd-fsck@.service.in
+++ b/units/systemd-fsck@.service.in
@@ -10,7 +10,7 @@ Description=File System Check on %f
Documentation=man:systemd-fsck@.service(8)
DefaultDependencies=no
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
[Service]