Parent Directory | Revision Log | Revision Graph
* Wed May 04 2022 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 2.7.0-15.sme - logrotate clamd keeps logging to old log [SME: 11963]
1 | diff -urN smeserver-clamav-2.7.0.old/root/etc/e-smith/templates/etc/logrotate.d/clamd/clamd.logrotate smeserver-clamav-2.7.0/root/etc/e-smith/templates/etc/logrotate.d/clamd/clamd.logrotate |
2 | --- smeserver-clamav-2.7.0.old/root/etc/e-smith/templates/etc/logrotate.d/clamd/clamd.logrotate 2022-05-03 20:52:38.832145466 +0300 |
3 | +++ smeserver-clamav-2.7.0/root/etc/e-smith/templates/etc/logrotate.d/clamd/clamd.logrotate 2022-05-03 20:54:03.745828754 +0300 |
4 | @@ -5,6 +5,6 @@ |
5 | missingok |
6 | |
7 | postrotate |
8 | - pkill -u clamscan -HUP -f /usr/sbin/clamd -c /etc/clamd.d/scan.conf >/dev/null 2>&1 || : |
9 | + /bin/kill -HUP `cat /var/run/clamd/clamd.pid 2> /dev/null` 2> /dev/null || true |
10 | endscript |
11 | \} |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |