slis        15/02/03 06:40:01

  Added:                ntopng.init.d ntopng.conf.d
  Log:
  added ntopng, #475960
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0x55265D89)

Revision  Changes    Path
1.1                  net-analyzer/ntopng/files/ntopng.init.d

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/files/ntopng.init.d?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/files/ntopng.init.d?rev=1.1&content-type=text/plain

Index: ntopng.init.d
===================================================================
#!/sbin/runscript
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntopng/files/ntopng.init.d,v 
1.1 2015/02/03 06:40:01 slis Exp $

depend() {
    need net redis
}

start() {
    ebegin "Starting ntopng"
    start-stop-daemon --start --exec /usr/bin/ntopng --pidfile 
/var/run/ntopng.pid --make-pidfile --background -e 
LUA_PATH='/usr/share/ntopng/scripts/lua/modules/?.lua' -- --user ntopng 
${NTOPNG_OPTS}
    eend $?
}

stop() {
    ebegin "Stopping ntopng"
    start-stop-daemon --stop --exec /usr/bin/ntopng --pidfile 
/var/run/ntopng.pid
    eend $?
}



1.1                  net-analyzer/ntopng/files/ntopng.conf.d

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/files/ntopng.conf.d?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/files/ntopng.conf.d?rev=1.1&content-type=text/plain

Index: ntopng.conf.d
===================================================================
NTOPNG_OPTS="-i eth0"
NTOPNG_OPTS="${NTOPNG_OPTS} -m 192.168.0.0/16"
NTOPNG_OPTS="${NTOPNG_OPTS} -d /var/lib/ntopng"




Reply via email to