3 ms·
> it's straightforward to change the default. Care to share? Looking at https://systemd.io/TEMPORARY_DIRECTORIES/ https://systemd.io/TEMPORARY_DIRECTORIES/ and
by alextingle 2y ago
> it's straightforward to change the default.
Care to share? Looking at https://systemd.io/TEMPORARY_DIRECTORIES/ https://systemd.io/TEMPORARY_DIRECTORIES/ and I don't see any description of how to change the default behaviour dictated by systemd.
How do I disable the automatic file reaping? How do I configure the maximum age of temp files? Neither are mentioned. The bulk of the page is just a long list of passive-aggressive suggestions about how users are doing things wrong.
- mmwelt 2y agoThe article describes how to change the default: > Users who want /tmp to remain on disk can override the upstream default with `systemctl mask tmp.mount`. To stop periodic cleanups of /tmp and /var/tmp users can run `touch /etc/tmpfiles.d/tmp.conf`.
- dekhn 2y agoTBH I ask google for things like this because reading documentation is often less productive.