From: Zbigniew Jędrzejewski-Szmek Date: Sun, 28 Feb 2021 19:44:25 +0000 (+0100) Subject: man: tweak descriptions of how tmpfiles should be started X-Git-Tag: v248-rc3~92^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa2e348d7b8adf9735a45af942a39233d3248d41;p=thirdparty%2Fsystemd.git man: tweak descriptions of how tmpfiles should be started We shouldn't imply that invocation without any parameters is OK. Also, mention that the service can be restarted. Fixes #8684. --- diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index bd93474d407..5f97e37025f 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -48,23 +48,20 @@ Description - systemd-tmpfiles creates, deletes, and - cleans up volatile and temporary files and directories, based on - the configuration file format and location specified in - tmpfiles.d5. - - - If invoked with no arguments, it applies all directives from all configuration - files. When invoked with , - arguments specified on the command line are used instead of the configuration file - PATH. Otherwise, if one or more absolute filenames are - passed on the command line, only the directives in these files are applied. If - - is specified instead of a filename, directives are read from - standard input. If only the basename of a configuration file is specified, all - configuration directories as specified in - tmpfiles.d5 - are searched for a matching file and the file found that has the highest priority is - executed. + systemd-tmpfiles creates, deletes, and cleans up volatile and temporary files + and directories, using the configuration file format and location specified in + tmpfiles.d5. It must + be invoked with one or more options , , and + , to select the respective subset of operations. + + By default, directives from all configuration files are applied. When invoked with + , arguments specified on the command line are + used instead of the configuration file PATH. Otherwise, if one or more + absolute filenames are passed on the command line, only the directives in these files are applied. If + - is specified instead of a filename, directives are read from standard input. If only + the basename of a configuration file is specified, all configuration directories as specified in + tmpfiles.d5 are + searched for a matching file and the file found that has the highest priority is executed. System services (systemd-tmpfiles-setup.service, systemd-tmpfiles-setup-dev.service, @@ -82,8 +79,11 @@ affect files created by the user instance if they are placed in /tmp/, even if the user instance's time-based cleanup is turned off. - To debug systemd-tmpfiles, it may be useful to invoke it directly from the - command line with increased log level (see $SYSTEMD_LOG_LEVEL below). + To re-apply settings after configuration has been modified, simply restart + systemd-tmpfiles-clean.service, which will apply any settings which can be safely + executed at runtime. To debug systemd-tmpfiles, it may be useful to invoke it + directly from the command line with increased log level (see $SYSTEMD_LOG_LEVEL + below).