]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-tmpfiles-clean.service
units: add ordering dependencies on initrd-switch-root.target
[thirdparty/systemd.git] / units / systemd-tmpfiles-clean.service
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
a7df2d1e 2#
afbf8353
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
afbf8353
LP
8# (at your option) any later version.
9
10[Unit]
3b63d2d3 11Description=Cleanup of Temporary Directories
195f8e36 12Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
9810e419 13
afbf8353 14DefaultDependencies=no
4ea0f675 15After=local-fs.target time-set.target
7c0e2b55
ZJS
16Conflicts=shutdown.target initrd-switch-root.target
17Before=shutdown.target initrd-switch-root.target
afbf8353
LP
18
19[Service]
20Type=oneshot
cdc6804b 21ExecStart=systemd-tmpfiles --clean
716e6f44 22SuccessExitStatus=DATAERR
3b63d2d3 23IOSchedulingClass=idle
1d77721f 24LoadCredential=tmpfiles.extra