mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00: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:
parent
1d87a00a95
commit
af720f38d9
|
@ -14,9 +14,9 @@ Documentation=man:quotaon(8)
|
||||||
ConditionPathExists={{QUOTAON}}
|
ConditionPathExists={{QUOTAON}}
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
|
|
||||||
After=%i.mount
|
|
||||||
After=systemd-quotacheck@%i.service
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
BindsTo=%i.mount
|
||||||
|
After=systemd-quotacheck@%i.service %i.mount
|
||||||
Before=shutdown.target
|
Before=shutdown.target
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ ConditionPathExists={{QUOTACHECK}}
|
||||||
ConditionPathExists=!/etc/initrd-release
|
ConditionPathExists=!/etc/initrd-release
|
||||||
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
BindsTo=%i.mount
|
||||||
After=%i.mount
|
After=%i.mount
|
||||||
Before=shutdown.target
|
Before=shutdown.target
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
|
Loading…
Reference in a new issue