Re: [Clamav-users] contrib: clamd log file rotation script

2003-11-18 Thread Krištof Petr
Tomasz Kojm wrote: On Tue, 18 Nov 2003 14:28:59 -0200 Everton da Silva Marques <[EMAIL PROTECTED]> wrote: The init-script is used to stop/start clamd. I suppose it could be improved to send a signal to clamd. It should send SIGHUP to clamd to restart the logger. Its not working. # kill

Re: [Clamav-users] contrib: clamd log file rotation script

2003-11-18 Thread Tomasz Kojm
On Tue, 18 Nov 2003 14:28:59 -0200 Everton da Silva Marques <[EMAIL PROTECTED]> wrote: > The init-script is used to stop/start clamd. I suppose it > could be improved to send a signal to clamd. It should send SIGHUP to clamd to restart the logger. Best regards, Tomasz Kojm -- oo.

[Clamav-users] contrib: clamd log file rotation script

2003-11-18 Thread Everton da Silva Marques
Hi, Please find attached a script to rotate clamd log file. One may call the script from crontab, like this: 0 1 * * * /local/adm/bin/rotate-clamd-log.sh /var/adm/clamav clamd.log 100 10 /etc/init.d/clamd >/dev/null 2>/dev/null The invokation syntax is: # /local/adm/bin/rotate-clamd-log.