From 8593ef9c64ee4b7224c36ae57a5733147bfe4da0 Mon Sep 17 00:00:00 2001 From: Shashank Hebbar Date: Thu, 7 Sep 2023 00:29:40 +0530 Subject: [PATCH] systemd-tmpfiles: add page (#10670) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/systemd-tmpfiles.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/linux/systemd-tmpfiles.md diff --git a/pages/linux/systemd-tmpfiles.md b/pages/linux/systemd-tmpfiles.md new file mode 100644 index 000000000..71105987e --- /dev/null +++ b/pages/linux/systemd-tmpfiles.md @@ -0,0 +1,25 @@ +# systemd-tmpfiles + +> Create, delete and clean up volatile and temporary files and directories. +> This command is automatically invoked on boot by systemd services, and running it manually is usually not needed. +> More information: . + +- Create files and directories as specified in the configuration: + +`systemd-tmpfiles --create` + +- Clean up files and directories with age parameters configured: + +`systemd-tmpfiles --clean` + +- Remove files and directories as specified in the configuration: + +`systemd-tmpfiles --remove` + +- Apply operations for user-specific configurations: + +`systemd-tmpfiles --create --user` + +- Execute lines marked for early boot: + +`systemd-tmpfiles --create --boot`