[Oisf-devel] get pidfile config from suricata.yaml if not available in command options

Victor Julien victor at inliniac.net
Mon Nov 28 09:04:59 UTC 2011


On 11/28/2011 09:59 AM, Delta Yeh wrote:
> What is the default pidfile  you prefered?

/var/run/suricata.pid would make sense to me.

Cheers,
Victor

> 2011/11/28 Victor Julien <victor at inliniac.net>:
>> On 11/28/2011 09:28 AM, Delta Yeh wrote:
>>> Hi all,
>>>  The attachment is a patch to get pidfile config from suricata.yaml if
>>>  --pidfile is not available in command options.
>>>
>>> I would be appreciated if someone will review it.
>>
>> Great idea.
>>
>> Two comments:
>> - I don't think we need the "Info" message if no file is configure.
>> - can you add an example (commented out by default) to the suricata.yaml
>> with a little explanation?
>>
>> Thanks!
>>
>> --
>> ---------------------------------------------
>> Victor Julien
>> http://www.inliniac.net/
>> PGP: http://www.inliniac.net/victorjulien.asc
>> ---------------------------------------------
>>
>> _______________________________________________
>> Oisf-devel mailing list
>> Oisf-devel at openinfosecfoundation.org
>> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
>>
> 


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list