units: make sure that fsck is executed before quotacheck
authortblume <Thomas.Blume@suse.com>
Tue, 10 May 2016 12:10:17 +0000 (14:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 May 2016 12:10:17 +0000 (14:10 +0200)
fsck determines wheter an automatic quotacheck should be executed.
Hence fsck service needs to run before quotacheck service.

units/systemd-fsck@.service.in

index 0468392..6ca6b07 100644 (file)
@@ -11,7 +11,7 @@ Documentation=man:systemd-fsck@.service(8)
 DefaultDependencies=no
 BindsTo=%i.device
 After=%i.device systemd-fsck-root.service local-fs-pre.target
-Before=shutdown.target
+Before=systemd-quotacheck.service shutdown.target
 
 [Service]
 Type=oneshot