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:
parent
2ba545f1a0
commit
ba5beeb174
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user