- fix shell for daily cron job (#544182)

This commit is contained in:
Michal Hlavinka 2009-12-04 12:30:02 +00:00
parent eb7765d71a
commit 8e0cfe8ec2
2 changed files with 6 additions and 3 deletions

View File

@ -30,7 +30,7 @@ done
[ -f ${MBOXLIST}.gz ] && mv -f ${MBOXLIST}.gz ${MBOXLIST}.1.gz [ -f ${MBOXLIST}.gz ] && mv -f ${MBOXLIST}.gz ${MBOXLIST}.1.gz
# export mailboxes.db # export mailboxes.db
$RUNUSER - cyrus -c "umask 077 < /dev/null ; /usr/lib/cyrus-imapd/ctl_mboxlist -d | gzip > ${MBOXLIST}.gz" $RUNUSER - cyrus -s /bin/sh -c "umask 077 < /dev/null ; /usr/lib/cyrus-imapd/ctl_mboxlist -d | gzip > ${MBOXLIST}.gz"
exit 0 exit 0
# EOF # EOF

View File

@ -2,7 +2,7 @@
Name: cyrus-imapd Name: cyrus-imapd
Version: 2.3.15 Version: 2.3.15
Release: 9%{?dist} Release: 10%{?dist}
%define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem %define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem
@ -520,7 +520,10 @@ fi
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.3.15-9 * Fri Dec 04 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.3.15-10
- fix shell for daily cron job (#544182)
* Fri Dec 04 2009 Stepan Kasal <skasal@redhat.com> - 2.3.15-9
- rebuild against perl 5.10.1 - rebuild against perl 5.10.1
* Thu Nov 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.3.15-8 * Thu Nov 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.3.15-8