aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/mandriva-clean-var-run-lock.service
blob: e8feaacb2680e3e9bf72d67b0f2caaa74da1d997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#  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

[Service]
Type=oneshot
ExecStart=-/usr/bin/find /var/lock /var/run -depth ! -type d ! -path /var/lock/TMP_1ST -delete
IOSchedulingClass=idle