mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -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:
@@ -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