mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/clamav: add model version which now forces migration
This adds the defaults to the config, which adds the database mirror, which finally writes freshclam.conf in usable state. Yay! \o/
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= clamav
|
||||
PLUGIN_VERSION= 0.1
|
||||
PLUGIN_COMMENT= ClamAV anti virus scanner
|
||||
PLUGIN_COMMENT= Antivirus engine for detecting malicious threats
|
||||
PLUGIN_DEPENDS= clamav
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
PLUGIN_DEVEL= yes
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
ClamAV® is an open source (GPL) anti-virus engine used in a
|
||||
variety of situations including email scanning, web scanning,
|
||||
and end point security. It provides a number of utilities
|
||||
including a flexible and scalable multi-threaded daemon,
|
||||
a command line scanner and an advanced tool for automatic
|
||||
ClamAV(r) is an open source (GPL) anti-virus engine used in a
|
||||
variety of situations including email scanning, web scanning,
|
||||
and end point security. It provides a number of utilities
|
||||
including a flexible and scalable multi-threaded daemon,
|
||||
a command line scanner and an advanced tool for automatic
|
||||
database updates.
|
||||
|
||||
WWW: https://www.clamav.net/
|
||||
|
||||
@@ -57,6 +57,6 @@ function clamav_services()
|
||||
'pidfile' => '/var/run/clamav/freshclam.pid'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
return $services;
|
||||
}
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ class ServiceController extends ApiControllerBase
|
||||
} else {
|
||||
return array("response" => array());
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* start clamav service (in background)
|
||||
* @return array
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/clamav/general</mount>
|
||||
<description>ClamAV configuration</description>
|
||||
<version>1.0.0</version>
|
||||
<items>
|
||||
<enabled type="BooleanField">
|
||||
<default>0</default>
|
||||
|
||||
@@ -10,4 +10,4 @@ chmod 750 /var/db/clamav
|
||||
|
||||
mkdir -p /var/log/clamav
|
||||
chown -R clamav:clamav /var/log/clamav
|
||||
chmod 750 /var/log/clamav
|
||||
chmod 750 /var/log/clamav
|
||||
|
||||
Reference in New Issue
Block a user