Remove dependency on tmpwatch and tmpreaper

This commit is contained in:
Francis Lachapelle committed 2018-05-03 15:28:17 -04:00
1 parent a2ef0b41f3
commit 7222e5a36a
8 files changed
+10 -8

No files matched your search

+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