systemd-tmpfiles: add page (#10670)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Shashank Hebbar 2023-09-07 00:29:40 +05:30 committed by GitHub
parent 39ac57670e
commit 8593ef9c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -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: <https://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html>.
- 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`