From e0d0d5a32d05ac59d7b5efaf77eefd0b5bf28995 Mon Sep 17 00:00:00 2001 From: Cino Date: Wed, 7 Jan 2015 20:39:20 -0500 Subject: 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 --- config/ntopng/ntopng.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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, -- cgit v1.2.3