/[smeserver]/rpms/smeserver-spamassassin/sme9/smeserver-spamassassin-2.4.0-refreshclam.patch
ViewVC logotype

Contents of /rpms/smeserver-spamassassin/sme9/smeserver-spamassassin-2.4.0-refreshclam.patch

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


Revision 1.1 - (show annotations) (download)
Fri Jan 3 05:07:43 2014 UTC (10 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_4_0-9_el6_sme, smeserver-spamassassin-2_4_0-6_el6_sme, smeserver-spamassassin-2_4_0-7_el6_sme, smeserver-spamassassin-2_4_0-4_el6_sme, smeserver-spamassassin-2_4_0-8_el6_sme, smeserver-spamassassin-2_4_0-5_el6_sme, HEAD
* Thu Dec 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
- Include /usr/bin/refreshclam [SME: 8108]

1 diff -ruN smeserver-spamassassin-2.4.0.old/root/usr/bin/refreshclam smeserver-spamassassin-2.4.0/root/usr/bin/refreshclam
2 --- smeserver-spamassassin-2.4.0.old/root/usr/bin/refreshclam 1969-12-31 16:00:00.000000000 -0800
3 +++ smeserver-spamassassin-2.4.0/root/usr/bin/refreshclam 2014-01-02 20:48:51.000000000 -0800
4 @@ -0,0 +1,24 @@
5 +#!/bin/bash
6 +
7 +#Stop qpsmtpd/sqpsmtpd:
8 +/usr/local/bin/svc -d /service/qpsmtpd/
9 +/usr/local/bin/svc -d /service/sqpsmtpd/
10 +
11 +#Stop freshclam/clamd:
12 +/usr/local/bin/svc -d /service/freshclam/
13 +/usr/local/bin/svc -d /service/clamd/
14 +
15 +#Delete all:
16 +/bin/rm -f /var/clamav/*
17 +
18 +#Update clamAV database
19 +/usr/bin/freshclam -v
20 +
21 +#Restart freshclam/clamd
22 +/usr/local/bin/svc -u /service/freshclam/
23 +/usr/local/bin/svc -u /service/clamd/
24 +
25 +#Restart qpsmtpd/sqpsmtpd
26 +/usr/local/bin/svc -u /service/qpsmtpd/
27 +/usr/local/bin/svc -u /service/sqpsmtpd/
28 +

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