git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@843 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/09/12 23:39:54... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Sun Sep 12 16:37:04 CEST 2004 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * docs/MacOSX: include Mac OS X instructions (thanks to Dale Enterprise L.L.C) |
|
4 |
+ |
|
1 | 5 |
Sun Sep 12 15:25:12 BST 2004 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* clamav-milter: Use .../share/clamav/clamav-milter/locale for the locale |
4 | 8 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,26 @@ |
0 |
+#!/bin/sh |
|
1 |
+. /etc/rc.common |
|
2 |
+StartService () |
|
3 |
+{ |
|
4 |
+ if [ "${CLAMAV:=-NO-}" = "-YES-" ]; then |
|
5 |
+ ConsoleMessage "Starting clamd-freshclam" |
|
6 |
+ freshclam -d -c 4 -p /var/clamav/freshclam.pid -l /var/log/clam-update.log |
|
7 |
+ clamd |
|
8 |
+ fi |
|
9 |
+} |
|
10 |
+StopService () |
|
11 |
+{ |
|
12 |
+ ConsoleMessage "Stoping clamd-freshclam" |
|
13 |
+ killall -u clamav |
|
14 |
+} |
|
15 |
+RestartService () |
|
16 |
+{ |
|
17 |
+ if [ "${CLAMAV:=-NO-}" = "-YES-" ]; then |
|
18 |
+ ConsoleMessage "Restarting clamd-freshclam" |
|
19 |
+ StopService |
|
20 |
+ StartService |
|
21 |
+ else |
|
22 |
+ StopService |
|
23 |
+ fi |
|
24 |
+} |
|
25 |
+RunService "$1" |
0 | 26 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,14 @@ |
0 |
+<?xml version="1.0" encoding="UTF-8"?> |
|
1 |
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> |
|
2 |
+<plist version="0.9"> |
|
3 |
+<dict> |
|
4 |
+ <key>CLAMAV</key> |
|
5 |
+ <string>CLAMAV</string> |
|
6 |
+ <key>Starting clam-freshclam</key> |
|
7 |
+ <string>Starting clam-freshclam</string> |
|
8 |
+ <key>Stopping clam-freshclam</key> |
|
9 |
+ <string>Stopping clam-freshclam</string> |
|
10 |
+ <key>Restarting clam-freshclam</key> |
|
11 |
+ <string>Restarting clam-freshclam</string> |
|
12 |
+</dict> |
|
13 |
+</plist> |
0 | 14 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,14 @@ |
0 |
+<?xml version="1.0" encoding="utf-8"?> |
|
1 |
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> |
|
2 |
+<plist version="0.9"> |
|
3 |
+<dict> |
|
4 |
+ <key>CLAMAV</key> |
|
5 |
+ <string>CLAMAV</string> |
|
6 |
+ <key>Starting clam-freshclam</key> |
|
7 |
+ <string>Démarrage de la clam-freshclam</string> |
|
8 |
+ <key>Stopping clam-freshclam</key> |
|
9 |
+ <string>Arrêt de la clam-freshclam</string> |
|
10 |
+ <key>Restarting clam-freshclam</key> |
|
11 |
+ <string>Redémarrage de la clam-freshclam</string> |
|
12 |
+</dict> |
|
13 |
+</plist> |
0 | 14 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,12 @@ |
0 |
+{ |
|
1 |
+ Description = "CLAMAV"; |
|
2 |
+ Provides = ("CLAMAV"); |
|
3 |
+ Requires = ("Resolver"); |
|
4 |
+ OrderPreference = "NONE"; |
|
5 |
+ Messages = |
|
6 |
+ { |
|
7 |
+ start = "Starting clam-freshclam"; |
|
8 |
+ stop = "Stopping clam-freshclam"; |
|
9 |
+ restart = "Restarting clam-freshclam"; |
|
10 |
+ }; |
|
11 |
+} |