Having installed the Sane Security package as above, it will operate as follows.
Having installed the Sane Security package as above, it will operate as follows.
−
* A cron job (''/etc/cron.d/clamav-unofficialsigs_cron'') will run once every hour and instigate the ''/use/sbin/clamav-unofficial-sigs.sh'' script
+
* A cron job (''/etc/cron.d/clamav-unofficial-sigs-cron'') will run once every hour and instigate the ''/use/sbin/clamav-unofficial-sigs.sh'' script
−
* The script will download the additional databases to ''/usr/unofficial_dbs'' and then add them to the ''/var/clamav'' directory
+
* The script will read the configuration settings in ''/etc/clamav-unofficial-sigs.conf''
+
* The additional databases will be downloaded to ''/usr/unofficial_dbs'' and then added to the ''/var/clamav'' directory
* ClamAV will reload all its databases from ''/var/clamav'' every 30 minutes by default
* ClamAV will reload all its databases from ''/var/clamav'' every 30 minutes by default
+
+
All the files (apart from the cron job) are in ''/opt/sanesecurity'' and soft linked to the main directories.
+
+
The ''sanesecurity-install.sh'' script used above can be run again if the Sane Security package of scripts etc is updated. Current version is 3.7 (April 2010). This assumes that nothing significant changes with regard to how the package needs to be installed.
+
+
{{Note box|Running ''sanesecurity-install.sh'' again will download the latest Sane Security .tar.gz package and unpack/install it. This will overwrite the existing files, including ''/etc/clamav-unofficial-sigs.conf'' and any manual adjustments you may have made to the list of databases you want to be downloaded}}