IT_Architect
Verified User
- Joined
- Feb 27, 2006
- Messages
- 1,088
On line I see discussions all over the map including the use of tmpfs. I don't want to use tmpfs and I want the files to all get cleared out of /tmp on reboot like FreeBSD. I see scripts to remove files that haven't been access in a week, but I don't want that. Files that need to persist reboots are supposed to be in /var/tmp. I read about:
/usr/lib/tmpfiles.d/tmp.conf, called by systemd-tmpfiles-clean.service but when I look in the conf I don't see where it clears the files on reboot from a few folders it names. So my question is, how do I get AlmaLinux to clear /tmp?
Thanks!
/usr/lib/tmpfiles.d/tmp.conf, called by systemd-tmpfiles-clean.service but when I look in the conf I don't see where it clears the files on reboot from a few folders it names. So my question is, how do I get AlmaLinux to clear /tmp?
Thanks!