aboutsummaryrefslogtreecommitdiffstats
path: root/config/syslog-ng/syslog-ng.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-01-15 01:53:40 -0600
committerChris Buechler <cmb@pfsense.org>2014-01-15 01:53:40 -0600
commit163cd2afa44a70b0730f4b5f7aa6b9c8e781b85c (patch)
tree733c9c32f3a8e0423fcda4df8a0bf199c56da51f /config/syslog-ng/syslog-ng.inc
parentc2767d13ce364deb8611517e0aa081d61c6a7449 (diff)
downloadpfsense-packages-163cd2afa44a70b0730f4b5f7aa6b9c8e781b85c.tar.gz
pfsense-packages-163cd2afa44a70b0730f4b5f7aa6b9c8e781b85c.tar.bz2
pfsense-packages-163cd2afa44a70b0730f4b5f7aa6b9c8e781b85c.zip
fix syslog-ng package startup
Diffstat (limited to 'config/syslog-ng/syslog-ng.inc')
-rw-r--r--config/syslog-ng/syslog-ng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc
index e1b4d35e..f821e75d 100644
--- a/config/syslog-ng/syslog-ng.inc
+++ b/config/syslog-ng/syslog-ng.inc
@@ -405,7 +405,7 @@ function syslogng_write_rcfile() {
$pid_file = "/var/run/syslog-ng.pid";
$rc['file'] = 'syslog-ng.sh';
$rc['start'] = <<<EOD
-if [ -z "`ps auxw | grep "syslog-ng" | grep -v "syslog-ng.sh"`" ]; then
+if [ -z "`ps auxw | grep "syslog-ng" | grep -v "syslog-ng.sh" | grep -v "grep"`" ]; then
/usr/local/sbin/syslog-ng -p {$pid_file}
fi