Skip to content

Commit

Permalink
Update d/libc-icap-mod-squidclamav.* files
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis van Belle committed Nov 6, 2019
1 parent ef6672c commit f878864
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions debian/libc-icap-mod-squidclamav.README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
PATTERN UPDATE

For reload of pattern files after updated via freshclam, the packages
installs an update script within /etc/clamav/onupdateexecute.d/ as
libc-icap-mod-squidclamav.

The feature in freshclam isn't activated by default or by this package.
To enable this feature you will have to add to /etc/clamav/freshclam.conf:

OnUpdateExecute /bin/run-parts --lsbsysinit /etc/clamav/onupdateexecute.d/

For further information please have a look in the doc directories of the
clamav packages.

5 changes: 5 additions & 0 deletions debian/libc-icap-mod-squidclamav.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
AUTHORS
ChangeLog
COPYING
NEWS
README
1 change: 1 addition & 0 deletions debian/libc-icap-mod-squidclamav.examples
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/libc-icap-mod-squidclamav.pattern-update
3 changes: 3 additions & 0 deletions debian/libc-icap-mod-squidclamav.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
etc/c-icap/squidclamv.conf
usr/lib/*/c_icap/squidclamav.so
usr/share/c_icap/templates/squidclamav
8 changes: 8 additions & 0 deletions debian/libc-icap-mod-squidclamav.pattern-update
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

#
# This Script reconfigures c-icap virus_scan module after Clamav Pattern update
# It gets installed as /etc/clamav/onupdateexecute.d/libc-icap-mod-squidclamav
#

/bin/echo -n "srv_clamav:dbreload" > /run/c-icap/c-icap.ctl

0 comments on commit f878864

Please sign in to comment.