Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 123169
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Eric Brown <eric.brown@dnbrown.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 123169 depends on: Show dependency tree
Bug 123169 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-17 07:28 0000
We already have a pid file specified in stop(), so the start function should
also use it.  An added benefit of this approach is that this also makes the
init scripts work when you run multiple instances of snort.  Here's what the
start function should look like:

start() {
    checkconfig || return 1
    ebegin "Starting snort"
    start-stop-daemon --start --quiet --exec /usr/bin/snort --pidfile
{$PIDFILE} \
        -- ${SNORT_OPTS} >/dev/null 2>&1
    eend $?
}

------- Comment #1 From Marcelo Goes 2006-02-17 08:22:23 0000 -------
Thanks, added in 2.4.3-r2.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug