Hi, > It needs tmpreaper for the cron.daily job that cleans up the > /var/spool/sogo directory where drafts are temporarily stored. From > reading the tmpfiles.d manpage, it seems that to get the same > functionality I should create a file /etc/tmpfiles.d/sogo.conf with > the contents:
since this is a tmpfiles.d snippet provided by a package, install it in /usr/lib/tmpfiles.d/. /etc/tmpfiles.d is supposed to be reserved for the local administrator > d /var/spool/sogo 750 sogo sogo 1d > > Is that correct? And will this clean the directory every day like the > cronjob does or will it only clean the directory on boot? Not quite. It means files/directories which haven't been *accessed* for more then 1 day will be deleted. Quoting the man page: "If a file or directory is older than the current time minus the age field it is deleted." The systemd-tmpfiles-clean service is run daily, not only during boot. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature