[Bug 223052] [PATCH] security/suricata: fix suricata stale pid file issue
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 17 20:34:33 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223052
--- Comment #1 from Franco Fichtner <franco at opnsense.org> ---
Hi,
Do we really need multiple pid files? What user do you use to run suricata? And
wouldn't it suffice to kill the pid file if it can't be opened?
if ! pgrep -qF $pidfile 2> /dev/null; then
rm -f $pidfile
fi
Cheers,
Franco
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list