[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stunnel-users
Subject:    Re: [stunnel-users] How do I kill stunnel?
From:       Grant Edwards <grante () visi ! com>
Date:       2008-06-25 15:48:24
Message-ID: g3tpc8$89h$1 () ger ! gmane ! org
[Download RAW message or body]

On 2008-06-25, Peter Pentchev <roam@ringlet.net> wrote:
> On Wed, Jun 25, 2008 at 02:57:39PM +0000, Grant Edwards wrote:

>> Before the application exits, it needs to stop stunnel.  I send
>> a SIGINT to the PID that was created using the fork, but only
>> the first "master" copy terminates -- the master stunnel
>> process doesn't terminate its children when it exits.
[...]

> If you have built stunnel with libwrap support, chances are high
> that the patch from this message might help you:
>
> http://stunnel.mirt.net/pipermail/stunnel-users/2008-June/002021.html

I decided to run stunnel in its own process group.  That way I
can just send a SIGINT to the whole group when I want stunnel
to terminate.  So far it seems to be working...

-- 
Grant Edwards                   grante             Yow! Hmmm ... an arrogant
                                  at               bouquet with a subtle
                               visi.com            suggestion of POLYVINYL
                                                   CHLORIDE ...

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic