[Oisf-users] How to stop suricata ?

phillip at bailey.st phillip at bailey.st
Wed Dec 14 16:18:25 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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


- -- 
www.bailey.st
IM: p0bailey at jabber.ccc.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJO6MxPAAoJENNBJKHbaDgTK+UH/jFNSpvw9f/xo6bPbYx/grYs
rhaxIO6K4QAEHCCP86U5W8iVhsrwvZ4nbChK3qIAbo6mz20aJo05PqDwRdtJTlJ/
5W2TVbzTv3w7eCgjPNaSu90HuYY/uA14/vilZWlLrS+3NjQXqFVBblP/jixL3NZz
P1Qg6yPA19UXQH3AiuT1rYPQzJ/tzTTMvc3GoDIdxQyChOezusgkkYkWuRlbX2F9
uGkfYdjV6J8fsWPmECG0zS09v/Pt9NBmVa3pczWBNuPOFJqG5VurIWnF1/I3eKoJ
piZ7rRTAL8OIIUHFh3n5O1uiKojaCFd/jc5Nl8abriN2r6281HhbsDV2MlrW0so=
=HrmT
-----END PGP SIGNATURE-----



More information about the Oisf-users mailing list