forked from pool/systemd
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
|
From 66f311206e908a5b6f21e66fad73e1e5ea3e31d6 Mon Sep 17 00:00:00 2001
|
||
|
From: Ivan Shapovalov <intelfx100@gmail.com>
|
||
|
Date: Wed, 27 Aug 2014 00:17:43 +0400
|
||
|
Subject: [PATCH] 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.
|
||
|
---
|
||
|
units/systemd-fsck@.service.in | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git units/systemd-fsck@.service.in units/systemd-fsck@.service.in
|
||
|
index c12efa8..d2cda6a 100644
|
||
|
--- units/systemd-fsck@.service.in
|
||
|
+++ 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]
|
||
|
--
|
||
|
1.7.9.2
|
||
|
|