public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/ntopng/files: ntopng.init.d ntopng.conf.d
@ 2015-02-03  6:40 Slawek Lis (slis)
  0 siblings, 0 replies; only message in thread
From: Slawek Lis (slis) @ 2015-02-03  6:40 UTC (permalink / raw
  To: gentoo-commits

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"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-03  6:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03  6:40 [gentoo-commits] gentoo-x86 commit in net-analyzer/ntopng/files: ntopng.init.d ntopng.conf.d Slawek Lis (slis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox