chiark / gitweb /
units: properly use ConditionPathExists= instead of ConditionFileExists=
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 12:22:49 +0000 (14:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 12:22:49 +0000 (14:22 +0200)
units/quotacheck.service.in
units/quotaon.service

index 9c8d7c8..089cffe 100644 (file)
@@ -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
index 60f6be6..deaa917 100644 (file)
@@ -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