mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08: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=!/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
|
||||
|
Loading…
Reference in New Issue
Block a user