systemd-tmpfiles, systemd-tmpfiles-setup.service, systemd-tmpfiles-setup-dev-early.service, systemd-tmpfiles-setup-dev.service, systemd-tmpfiles-clean.service, systemd-tmpfiles-clean.timer — Create, delete, and clean up files and directories
systemd-tmpfiles
[OPTIONS...] [CONFIGFILE
...]
System units:
systemd-tmpfiles-setup.service |
systemd-tmpfiles-setup-dev-early.service |
systemd-tmpfiles-setup-dev.service |
systemd-tmpfiles-clean.service |
systemd-tmpfiles-clean.timer |
User units:
systemd-tmpfiles-setup.service |
systemd-tmpfiles-clean.service |
systemd-tmpfiles-clean.timer |
systemd-tmpfiles creates, deletes, and cleans up files and directories, using
the configuration file format and location specified in
tmpfiles.d(5).
Historically, it was designed to manage volatile and temporary files, as the name suggests, but it provides
generic file management functionality and can be used to manage any kind of files. It must
be invoked with one or more commands --create
, --remove
, and
--clean
, to select the respective subset of operations.
If invoked with no arguments, directives from the configuration files found in the directories
specified by
tmpfiles.d(5) are
executed. When invoked with positional arguments, if option
--replace=
is specified, arguments specified on the
command line are used instead of the configuration file PATH
PATH
. Otherwise, just
the configuration specified by the command line arguments is executed. If the string "-
"
is specified instead of a filename, the configuration is read from standard input. If the argument is a
file name (without any slashes), all configuration directo