Skip to content

Instantly share code, notes, and snippets.

View AlbaroPereyra's full-sized avatar

Albaro Pereyra AlbaroPereyra

View GitHub Profile
@freayd
freayd / install.sh
Created November 18, 2018 09:16
Install ClamAV on macOS
#!/bin/bash
CONFIG_FOLDER=/usr/local/etc/clamav
CLAMD_CONFIG_FILE=$CONFIG_FOLDER/clamd.conf
FRESHCLAM_CONFIG_FILE=$CONFIG_FOLDER/freshclam.conf
DB_FOLDER=/usr/local/var/lib/clamav
RUN_FOLDER=/usr/local/var/run/clamav
LOG_FOLDER=/usr/local/var/log
CLAMD_LOG_FILE=$LOG_FOLDER/clamd.log
CLAMD_ERROR_LOG_FILE=$LOG_FOLDER/clamd.error.log