mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
units: properly use ConditionPathExists= instead of ConditionFileExists=
This commit is contained 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user