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 9c8d7c8f0b48c9af5cf4b0e5c1386844ea4f4acc..089cffedcbaf0d353a0541a8867894a63b2b1490 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
 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
 
 [Service]
 Type=oneshot
index 60f6be6441fe30dc4d816f0306b02c737ee2330f..deaa917642817b63e45b7b312b478429360c4348 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
 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
 
 [Service]
 Type=oneshot