summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/quotacheck.service.in2
-rw-r--r--units/quotaon.service2
2 files changed, 2 insertions, 2 deletions
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