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

Delta Yeh delta.yeh at gmail.com
Mon Nov 28 09:16:51 UTC 2011


here is the v2 patch.

2011/11/28 Victor Julien <victor at inliniac.net>:
> 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
> ---------------------------------------------
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Get-pidfile-from-config-file-if-not-available-in-com.patch
Type: application/octet-stream
Size: 1453 bytes
Desc: not available
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20111128/bab81821/attachment.obj>


More information about the Oisf-devel mailing list