2010-09-29 07:30:41 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2010-09-29 07:30:41 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2010-10-19 04:38:41 +08:00
|
|
|
Description=Cleanup of Temporary Directories
|
2013-04-23 15:56:32 +08:00
|
|
|
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
|
2010-09-29 07:30:41 +08:00
|
|
|
DefaultDependencies=no
|
|
|
|
Wants=local-fs.target
|
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
2010-11-19 23:24:21 +08:00
|
|
|
Before=sysinit.target shutdown.target
|
2011-05-01 05:08:15 +08:00
|
|
|
ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d
|
|
|
|
ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d
|
|
|
|
ConditionDirectoryNotEmpty=|/etc/tmpfiles.d
|
|
|
|
ConditionDirectoryNotEmpty=|/run/tmpfiles.d
|
2010-09-29 07:30:41 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2011-02-13 21:04:57 +08:00
|
|
|
ExecStart=@rootbindir@/systemd-tmpfiles --clean
|
2010-10-19 04:38:41 +08:00
|
|
|
IOSchedulingClass=idle
|