From 1e9e728642fb61d70cc2e8a5f1e3a3fd0dac1eb9 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Fri, 8 Feb 2008 09:56:50 +0000 Subject: [PATCH] - don't run cronjob if cyrus-imapd has never been started (#418191) --- cyrus-imapd.cron-daily | 1 + cyrus-imapd.spec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cyrus-imapd.cron-daily b/cyrus-imapd.cron-daily index 3ec831c..1f55aa8 100644 --- a/cyrus-imapd.cron-daily +++ b/cyrus-imapd.cron-daily @@ -21,6 +21,7 @@ if [ -f /etc/sysconfig/cyrus-imapd ]; then fi [ -x /usr/lib/cyrus-imapd/ctl_mboxlist ] || exit 0 +[ -f /var/lib/imap/db/skipstamp ] || exit 0 # rotate mailbox lists seq $[ $ROTATE - 1 ] -1 1 | while read i; do diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index dfc6429..a96f61c 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -1,7 +1,7 @@ %define upstream_ver 2.3.9 Name: cyrus-imapd Version: 2.3.9 -Release: 8%{?dist} +Release: 9%{?dist} # ********************** BUILD TIME OPTIONS START ********************** @@ -803,6 +803,9 @@ fi %{_mandir}/man1/* %changelog +* Fri Feb 08 2008 Tomas Janousek - 2.3.9-9 +- don't run cronjob if cyrus-imapd has never been started (#418191) + * Tue Dec 04 2007 Tomas Janousek - 2.3.9-8 - move certificate creation from -utils postinst to main package - rebuild with newer openssl and openldap