# This file is part of initscripts. # # Implement /var/run and /var/lock clean up that is part of standard # rc.sysinit but cannot be expressed using tmpfiles.d [Unit] Description=Cleanup of /var/run and /var/lock 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