[CentOS] Centos 7 tmpwatch

Jonathan Billings billings at negate.org
Sat Oct 18 21:23:29 UTC 2014


On Sat, Oct 18, 2014 at 03:04:36PM -0600, Frank Cox wrote:
> I have noticed that tmpwatch isn't automatically installed with
> Centos 7, or at least it wasn't when I set up this computer. 
> 
> I further noticed that the Centos 7 tmpwatch rpm no longer includes
> /etc/cron.daily/tmpwatch 

There's no need for the tmpwatch cron job because systemd-tmpfiles
does its job.  Read the 'tmpfiles.d' man page.  Configuration for the
temp directories is in /usr/lib/tmpfiles.d/tmp.conf, and you can add
your own files in /etc/tmpfiles.d/*.conf.

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list