Commit dd916f13 authored by Nicolas Wavrant's avatar Nicolas Wavrant

clammit: LogFileMaxSize is also needed to prevent clamav to try to rotate logs itself

parent 02abcd10
...@@ -19,11 +19,11 @@ md5sum = da846d59eb75a82d0d392c396517e76d ...@@ -19,11 +19,11 @@ md5sum = da846d59eb75a82d0d392c396517e76d
[clamd.conf.in] [clamd.conf.in]
filename = clamd.conf.in filename = clamd.conf.in
md5sum = ea04b5aab8ae5302d16227d5121af256 md5sum = bdd237340b052e97b19218c5b6098cb8
[freshclam.conf.in] [freshclam.conf.in]
filename = freshclam.conf.in filename = freshclam.conf.in
md5sum = fb87755b97e230e5d499c1d8fb9762a9 md5sum = 09818454a8c898141f7d249630bcf6e7
[clammit.conf.in] [clammit.conf.in]
filename = clammit.conf.in filename = clammit.conf.in
......
Foreground yes Foreground yes
LogFile {{ clamconfig["clamd-log-file"] }} LogFile {{ clamconfig["clamd-log-file"] }}
# Both LogRotate and LogFileMaxSize are necessary to prevent auto log rotation
LogRotate no LogRotate no
LogFileMaxSize 0
LogTime yes LogTime yes
PidFile {{ clamconfig["clamd-pid-file"] }} PidFile {{ clamconfig["clamd-pid-file"] }}
LocalSocket {{ clamconfig["clamd-socket-file"] }} LocalSocket {{ clamconfig["clamd-socket-file"] }}
......
Foreground yes Foreground yes
DatabaseDirectory {{ clamconfig["clam-database-directory"] }} DatabaseDirectory {{ clamconfig["clam-database-directory"] }}
UpdateLogFile {{ clamconfig["freshclam-log-file"] }} UpdateLogFile {{ clamconfig["freshclam-log-file"] }}
# Both LogRotate and LogFileMaxSize are necessary to prevent auto log rotation
LogRotate no LogRotate no
LogFileMaxSize 0
LogTime yes LogTime yes
PidFile {{ clamconfig["freshclam-pid-file"] }} PidFile {{ clamconfig["freshclam-pid-file"] }}
DatabaseMirror database.clamav.net DatabaseMirror database.clamav.net
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment