Remove dependency on tmpwatch and tmpreaper

This commit is contained in:
Francis Lachapelle
2018-05-03 15:28:17 -04:00
parent a2ef0b41f3
commit 7222e5a36a
8 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -3,5 +3,5 @@
# SOGOSPOOL must match the value of the configuration parameter SOGoMailSpoolPath
SOGOSPOOL=/var/spool/sogo
/usr/sbin/tmpwatch 24 "$SOGOSPOOL"
find "$SOGOSPOOL" -type f -user sogo -atime +23 -delete > /dev/null
find "$SOGOSPOOL" -mindepth 1 -type d -user sogo -empty -delete > /dev/null