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

List:       oisf-users
Subject:    [Oisf-users] Fwd: Re:  How to stop suricata ?
From:       Mex <mail () mare-system ! de>
Date:       2011-12-14 16:24:02
Message-ID: 4EE8CDA2.7070204 () mare-system ! de
[Download RAW message or body]





i wouldn't use kill -9 as the usual way, just in case
nothing else help

kill -15 $PID might be better as first try

man kill -> signals





On 14/12/11 17:18, phillip@bailey.st wrote:
> On 12/14/2011 05:14 PM, Eric Leblond wrote:
>> Hello,
> 
>> On Wed, 2011-12-14 at 17:11 +0100, phillip@bailey.st wrote:
>>> Hello everyone,
>>>
>>> I'm wondering if there's a smart way to stop Suricata when
>>> it runs in daemon mode, killall doesn't have any effect.
> 
>> Killall should stop it cleanly.
> 
>> In which mode are you running ?
> 
>> BR,
> 
>>>
>>> Best,
>>>
>>> Phillip
>>>
>>>
>>> _______________________________________________
>>> Oisf-users mailing list
>>> Oisf-users@openinfosecfoundation.org
>>> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
> 
> 
> 
> I'm running suricata in Daemon mode,
> 
> anyway I'm working on something like this
> 
> PIDFILE=/var/run/suricata.pid
> PID=$(cat $PIDFILE)
> kill -9 $PID
> 
> so far works fine.
> 
> Phillip
> 
> 
_______________________________________________
Oisf-users mailing list
Oisf-users@openinfosecfoundation.org
http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
_______________________________________________
Oisf-users mailing list
Oisf-users@openinfosecfoundation.org
http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
[prev in list] [next in list] [prev in thread] [next in thread] 

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