/[smeserver]/rpms/spamassassin/sme9/sa-update.cron.in
ViewVC logotype

Contents of /rpms/spamassassin/sme9/sa-update.cron.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jul 9 20:07:11 2015 UTC (9 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: spamassassin-3_4_1-1_el6_sme, spamassassin-3_3_2-59_el6_sme, spamassassin-3_4_2-2_el6_sme, spamassassin-3_4_2-1_el6_sme, spamassassin-3_3_2-60_el6_sme, spamassassin-3_3_2-58_el6_sme, HEAD
Initial import of spamassassin in our CVS

1 #!/bin/bash
2 # Only restart spamd if sa-update returns 0, meaning it updated the rules
3 export HOME=@homedir@
4 cd $HOME
5 (/usr/bin/sa-update \
6 --gpgkeyfile @configdir@/gpgkeys \
7 --channelfile @configdir@/channels \
8 && service spamassassin condrestart > /dev/null) 2>&1 \
9 | tee -a /var/log/sa-update.log

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed