1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-28 05:57:33 +03:00

units: properly use ConditionPathExists= instead of ConditionFileExists=

This commit is contained in:
Lennart Poettering 2010-10-20 14:22:49 +02:00
parent 2ba545f1a0
commit ba5beeb174
2 changed files with 2 additions and 2 deletions

View 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

View 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