[Oisf-users] Fwd: Re: How to stop suricata ?
Mex
mail at mare-system.de
Wed Dec 14 16:24:02 UTC 2011
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 at bailey.st wrote:
> On 12/14/2011 05:14 PM, Eric Leblond wrote:
>> Hello,
>
>> On Wed, 2011-12-14 at 17:11 +0100, phillip at 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 at 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 at openinfosecfoundation.org
http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
More information about the Oisf-users
mailing list