aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCino <cinony@gmail.com>2015-01-07 20:39:20 -0500
committerCino <cinony@gmail.com>2015-01-07 20:39:20 -0500
commite0d0d5a32d05ac59d7b5efaf77eefd0b5bf28995 (patch)
tree39e3b40277584133f5d2f02d70d62f4e97aa06da
parent7868071344a84a70c88d39cdd8de159ba82db782 (diff)
downloadpfsense-packages-e0d0d5a32d05ac59d7b5efaf77eefd0b5bf28995.tar.gz
pfsense-packages-e0d0d5a32d05ac59d7b5efaf77eefd0b5bf28995.tar.bz2
pfsense-packages-e0d0d5a32d05ac59d7b5efaf77eefd0b5bf28995.zip
ntop - change location of database and pid
changed database/pid location to /var/db/ntopng and /var/run/ntopng.pid It was defaulting to /var/tmp/ntopng -d /var/db/ntopng -G /var/run/ntopng.pid
-rw-r--r--config/ntopng/ntopng.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml
index 82999978..b656e483 100644
--- a/config/ntopng/ntopng.xml
+++ b/config/ntopng/ntopng.xml
@@ -199,7 +199,7 @@
// Add support for --data-dir /somewhere, --httpdocs-dir /somewhereelse,
// --dump-timeline (on/off) --http-port, --https-port
- $start .= "\t/usr/local/bin/ntopng -s -e {$dump_flows} {$ifaces} {$dns_mode} {$aggregations} {$local_networks} &";
+ $start .= "\t/usr/local/bin/ntopng -d /var/db/ntopng -G /var/run/ntopng.pid -s -e {$dump_flows} {$ifaces} {$dns_mode} {$aggregations} {$local_networks} &";
write_rcfile(array(
"file" => "ntopng.sh",
"start" => $start,