summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-20 14:22:49 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-20 14:22:49 +0200
commitba5beeb1746dfc442c9476d93fddf2cb45d17cf1 (patch)
tree40278614813fab5f347f616d2bca61b90ac02101
parent2ba545f1a098fc5621d4d1f1049af2f40793819a (diff)
units: properly use ConditionPathExists= instead of ConditionFileExists=
-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