diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-04-15 07:40:29 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-04-15 07:40:29 +0000 |
commit | 9020a9844363c7d73e729fa57cf4f33b4669bb6e (patch) | |
tree | 5c9f3bc900e50544f616b9ee16c9a48fce194455 /main/clamav/freshclam.logrotate | |
parent | 2fbed140ab34226826cb7dc379e90c1031a445b2 (diff) |
main/clamav: remove post-install unsuitable for run-from-RAM in
stalled. Add logrotate support for clamd and freshclam
Diffstat (limited to 'main/clamav/freshclam.logrotate')
-rw-r--r-- | main/clamav/freshclam.logrotate | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/clamav/freshclam.logrotate b/main/clamav/freshclam.logrotate new file mode 100644 index 00000000000..df42d6084f0 --- /dev/null +++ b/main/clamav/freshclam.logrotate @@ -0,0 +1,7 @@ +/var/log/clamav/freshclam.log { + missingok + postrotate + /etc/init.d/freshclam logfix + /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2> /dev/null` 2>/dev/null || true + endscript +} |