summaryrefslogtreecommitdiffstats
path: root/units/quotaon@.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/quotaon@.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 'units/quotaon@.service.in')
-rw-r--r--units/quotaon@.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/quotaon@.service.in b/units/quotaon@.service.in
index 136060a9a1..23f365ae2c 100644
--- a/units/quotaon@.service.in
+++ b/units/quotaon@.service.in
@@ -14,9 +14,9 @@ Documentation=man:quotaon(8)
ConditionPathExists={{QUOTAON}}
ConditionPathExists=!/etc/initrd-release
-After=%i.mount
-After=systemd-quotacheck@%i.service
DefaultDependencies=no
+BindsTo=%i.mount
+After=systemd-quotacheck@%i.service %i.mount
Before=shutdown.target
Conflicts=shutdown.target