]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-tmpfiles-setup.service.in
man,units: tmpfiles.d(5) cleanup
[thirdparty/systemd.git] / units / systemd-tmpfiles-setup.service.in
CommitLineData
afbf8353
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
afbf8353
LP
6# (at your option) any later version.
7
8[Unit]
9Description=Recreate Volatile Files and Directories
195f8e36 10Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
afbf8353
LP
11DefaultDependencies=no
12Wants=local-fs.target
c35b956d 13Conflicts=shutdown.target
afbf8353 14After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
e096bf2f 15Before=sysinit.target shutdown.target
adf70c5e 16ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d
ef72c1f0 17ConditionDirectoryNotEmpty=|/lib/tmpfiles.d
adf70c5e
KS
18ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d
19ConditionDirectoryNotEmpty=|/etc/tmpfiles.d
20ConditionDirectoryNotEmpty=|/run/tmpfiles.d
afbf8353
LP
21
22[Service]
23Type=oneshot
24RemainAfterExit=yes
ec99834c 25ExecStart=@rootbindir@/systemd-tmpfiles --create --remove --exclude-prefix=/dev