mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units: make quota services bind to corresponding mount units
Follow-up for a628d933cc
systemd-growfs@.service does the same.
This commit is contained 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
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ ConditionPathExists={{QUOTACHECK}}
|
||||
ConditionPathExists=!/etc/initrd-release
|
||||
|
||||
DefaultDependencies=no
|
||||
BindsTo=%i.mount
|
||||
After=%i.mount
|
||||
Before=shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
Reference in New Issue
Block a user