Handle amavisd-new upgrade.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 22 Apr 2009 12:32:13 +0000 (14:32 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 22 Apr 2009 12:32:13 +0000 (14:32 +0200)
files/etc/cron.daily/amavisd-new.expect [new file with mode: 0644]
files/etc/cron.daily/amavisd-new.restore [new file with mode: 0644]

diff --git a/files/etc/cron.daily/amavisd-new.expect b/files/etc/cron.daily/amavisd-new.expect
new file mode 100644 (file)
index 0000000..e5b7659
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+#  Daily maintenance for amavisd-new
+#  $Id: amavisd-new.cron.daily,v 1.8 2006/08/10 13:38:45 hmh Exp $
+# 
+test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean 1>/dev/null 2>&1
diff --git a/files/etc/cron.daily/amavisd-new.restore b/files/etc/cron.daily/amavisd-new.restore
new file mode 100644 (file)
index 0000000..ee9240a
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+#  Daily maintenance for amavisd-new
+#  $Id: amavisd-new.cron.daily,v 1.8 2006/08/10 13:38:45 hmh Exp $
+# 
+test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean