aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/freshclam.logrotate
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-12-07 18:32:08 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-08 14:26:59 +0000
commitbedaab5b374d5c54a91e2ce7bf50b95e1dd09183 (patch)
tree1f28e81c5300fa6aece604d1df712e06dcb27cb8 /main/clamav/freshclam.logrotate
parent42203a737e081c24bcac87b07346da59893f9968 (diff)
downloadaports-bedaab5b374d5c54a91e2ce7bf50b95e1dd09183.tar.bz2
aports-bedaab5b374d5c54a91e2ce7bf50b95e1dd09183.tar.xz
main/clamav: upgrade to 0.99. Minor fixes in APKBUILD, init and logrotate scripts (second release)
Diffstat (limited to 'main/clamav/freshclam.logrotate')
-rw-r--r--main/clamav/freshclam.logrotate10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/clamav/freshclam.logrotate b/main/clamav/freshclam.logrotate
index df42d6084f..18117eeb2a 100644
--- a/main/clamav/freshclam.logrotate
+++ b/main/clamav/freshclam.logrotate
@@ -1,7 +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
+ missingok
+ postrotate
+ /etc/init.d/freshclam --quiet logfix
+ /etc/init.d/freshclam --quiet --ifstarted reload
+ endscript
}