From bc0527a7cdf304fe770c73cf768ec6a973244cdd Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 6 Jul 2014 12:42:09 +0200 Subject: [PATCH] Remove mail-archiving code, mail is no longer on ftp-master --- config/debian/cron.monthly | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/config/debian/cron.monthly b/config/debian/cron.monthly index 95f552c9..1f92f914 100755 --- a/config/debian/cron.monthly +++ b/config/debian/cron.monthly @@ -12,20 +12,6 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars DATE=`date -d yesterday +%y%m` -cd ${base}/mail/archive -for m in mail bxamail; do - if [ -f $m ]; then - mv $m ${m}-$DATE - touch ${m} - chown dak:ftpteam ${m} - chmod 660 ${m} - sleep 20 - xz -9 ${m}-$DATE - chgrp $ftpgroup ${m}-$DATE.xz - chmod 660 ${m}-$DATE.xz - fi; -done - DATE=$(date +%Y-%m) OLDDATE=$(date -d yesterday +%Y-%m) cd ${base}/log -- 2.39.5