From ed4deae263135605df6e3e56ccb8f1855b3cc757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Ro=C3=9Fner?= <thorsten.rossner.extern@zendis.de> Date: Mon, 4 Nov 2024 16:52:48 +0100 Subject: [PATCH] feat: Initial commit. --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ freshclam.conf | 0 2 files changed, 22 insertions(+) create mode 100644 freshclam.conf diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa81d74..1a78f6f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,28 @@ update_clamav_db: - apt-get install -y clamav-freshclam script: + - | + cat << EOF > /etc/clamav/freshclam.conf + DatabaseMirror https://database.clamav.net + DatabaseDirectory ${CLAMAV_DB_PATH} + LogFileMaxSize 1M + LogTime no + LogVerbose no + LogSyslog yes + LogFacility LOG_LOCAL6 + LogRotate no + DatabaseOwner clamav + MaxAttempts 3 + ScriptedUpdates yes + CompressLocalDatabase no + NotifyClamd no + Foreground yes + Debug yes + ConnectTimeout 30 + ReceiveTimeout 60 + Bytecode yes + Checks 12 + EOF # Run Freshclam to download the latest ClamAV database files - freshclam # Copy the database files to the repository diff --git a/freshclam.conf b/freshclam.conf new file mode 100644 index 0000000..e69de29 -- GitLab