Re: [Clamav-devel] clamav-milter doesn't stop with kill -TERM

2009-01-29 Thread aCaB
Renato Botelho wrote:
 Hello guys,
 
 When I was updating clamav-devel in FreeBSD ports collection
 I noted clamav-milter has no more paramaters like it had in the
 past, so, i started to work on port to install a default conf file.
 
 Ok, i did it but i'm having a problem now, the startup script
 send a -TERM signal to the proccess to stop it, in this case
 clamav-milter, but clamav-milter doesn't stop with -TERM, is
 it working ok? What is the best way to stop clamav-milter?

Hi Renato,

kill -TERM works for me just fine.

Incidentally the milter does no specific signal handling, in fact
libmilter does (and kills clamav-milter on TERM).
Please be aware that it may take a few seconds for the process to die.

-aCaB
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


Re: [Clamav-devel] clamav-milter doesn't stop with kill -TERM

2009-01-29 Thread Renato Botelho
On Thu, Jan 29, 2009 at 11:52 AM, aCaB aca...@digitalfuture.it wrote:
 Renato Botelho wrote:
 Hello guys,

 When I was updating clamav-devel in FreeBSD ports collection
 I noted clamav-milter has no more paramaters like it had in the
 past, so, i started to work on port to install a default conf file.

 Ok, i did it but i'm having a problem now, the startup script
 send a -TERM signal to the proccess to stop it, in this case
 clamav-milter, but clamav-milter doesn't stop with -TERM, is
 it working ok? What is the best way to stop clamav-milter?

 Hi Renato,

 kill -TERM works for me just fine.

 Incidentally the milter does no specific signal handling, in fact
 libmilter does (and kills clamav-milter on TERM).
 Please be aware that it may take a few seconds for the process to die.

I've waited over 40 minutes, sending a -TERM each 2 seconds and it
didn't die

-- 
Renato Botelho
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net