diff options
-rw-r--r-- | systemd/system/mandriva-clean-var-run-lock.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/system/mandriva-clean-var-run-lock.service b/systemd/system/mandriva-clean-var-run-lock.service index e8feaacb..2abfeed4 100644 --- a/systemd/system/mandriva-clean-var-run-lock.service +++ b/systemd/system/mandriva-clean-var-run-lock.service @@ -9,8 +9,10 @@ DefaultDependencies=no Wants=local-fs.target After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target Before=systemd-tmpfiles-setup.service sysinit.target shutdown.target +ConditionPathExists=!/run/.suppress-mandriva-var-clean [Service] Type=oneshot ExecStart=-/usr/bin/find /var/lock /var/run -depth ! -type d ! -path /var/lock/TMP_1ST -delete +ExecStartPost=-/bin/touch /run/.suppress-mandriva-var-clean IOSchedulingClass=idle |