diff --git a/units/quotacheck.service.in b/units/quotacheck.service.in index 9c8d7c8f0b..089cffedcb 100644 --- a/units/quotacheck.service.in +++ b/units/quotacheck.service.in @@ -10,7 +10,7 @@ Description=Quota Check DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service Before=local-fs.target shutdown.target -ConditionFileExists=/sbin/quotacheck +ConditionPathExists=/sbin/quotacheck [Service] Type=oneshot diff --git a/units/quotaon.service b/units/quotaon.service index 60f6be6441..deaa917642 100644 --- a/units/quotaon.service +++ b/units/quotaon.service @@ -10,7 +10,7 @@ Description=Quota Check DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service quotacheck.service Before=local-fs.target shutdown.target -ConditionFileExists=/sbin/quotaon +ConditionPathExists=/sbin/quotaon [Service] Type=oneshot