summaryrefslogtreecommitdiffstats
path: root/units/systemd-quotacheck@.service.in
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-03-10 15:57:22 +0100
committerMike Yuan <me@yhndnzj.com>2024-03-10 15:57:22 +0100
commitaf720f38d9378ba347d2195278266f7bf579171b (patch)
treed1fdd8c0f2afbcafbea98f6f8f0f50cd50830252 /units/systemd-quotacheck@.service.in
parentmkosi: fix typo (diff)
downloadsystemd-af720f38d9378ba347d2195278266f7bf579171b.tar.xz
systemd-af720f38d9378ba347d2195278266f7bf579171b.zip
units: make quota services bind to corresponding mount units
Follow-up for a628d933cc67cc8b183dc809ba1451aa5b2996e5 systemd-growfs@.service does the same.
Diffstat (limited to '')
-rw-r--r--units/systemd-quotacheck@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-quotacheck@.service.in b/units/systemd-quotacheck@.service.in
index dddce2ee83..f2b8db7abb 100644
--- a/units/systemd-quotacheck@.service.in
+++ b/units/systemd-quotacheck@.service.in
@@ -15,6 +15,7 @@ ConditionPathExists={{QUOTACHECK}}
ConditionPathExists=!/etc/initrd-release
DefaultDependencies=no
+BindsTo=%i.mount
After=%i.mount
Before=shutdown.target
Conflicts=shutdown.target