]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-tmpfiles-setup.service.in
relicense to LGPLv2.1 (with exceptions)
[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
10DefaultDependencies=no
11Wants=local-fs.target
12After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
e096bf2f 13Before=sysinit.target shutdown.target
adf70c5e
KS
14ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d
15ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d
16ConditionDirectoryNotEmpty=|/etc/tmpfiles.d
17ConditionDirectoryNotEmpty=|/run/tmpfiles.d
afbf8353
LP
18
19[Service]
20Type=oneshot
21RemainAfterExit=yes
74ce487d 22ExecStart=@rootbindir@/systemd-tmpfiles --create --remove