Date: Tue, 17 Oct 2017 20:34:33 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223052] [PATCH] security/suricata: fix suricata stale pid file issue Message-ID: <bug-223052-13-yfBPcQ9SIM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223052-13@https.bugs.freebsd.org/bugzilla/> References: <bug-223052-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223052 --- Comment #1 from Franco Fichtner <franco@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223052-13-yfBPcQ9SIM>