Remove dependency on tmpwatch and tmpreaper

This commit is contained in:
Francis Lachapelle committed 2021-11-04 09:40:42 -04:00
1 parent 3d2e5adee8
commit 64414ee060
4 files changed
+5 -4

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