* [gentoo-commits] gentoo-x86 commit in net-analyzer/ntop/files: ntop-initd-r1
@ 2013-08-06 6:28 Lars Wendler (polynomial-c)
0 siblings, 0 replies; only message in thread
From: Lars Wendler (polynomial-c) @ 2013-08-06 6:28 UTC (permalink / raw
To: gentoo-commits
polynomial-c 13/08/06 06:28:07
Added: ntop-initd-r1
Log:
Revbump to make use of rewritten init script
(Portage version: 2.2.0_alpha194/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Revision Changes Path
1.1 net-analyzer/ntop/files/ntop-initd-r1
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntop/files/ntop-initd-r1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntop/files/ntop-initd-r1?rev=1.1&content-type=text/plain
Index: ntop-initd-r1
===================================================================
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/files/ntop-initd-r1,v 1.1 2013/08/06 06:28:07 polynomial-c Exp $
description="ntop - a network traffic analyzer"
pidfile="/run/ntop.pid"
command="/usr/bin/ntop"
command_args="-L ${NTOP_OPTS}"
start_stop_daemon_args="-p ${pidfile} -m -b"
depend() {
need net
}
start_pre() {
if [ ! -e /var/lib/ntop/ntop_pw.db ] ; then
eerror "You need to set a password first by running"
eerror "ntop --set-admin-password"
return 1
fi
export LC_ALL=C # apparently doesn't work with some locales (#191576 and #205382)
export GDFONTPATH=/usr/share/fonts/corefonts # apparently the only font that works (#231705)
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-06 6:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 6:28 [gentoo-commits] gentoo-x86 commit in net-analyzer/ntop/files: ntop-initd-r1 Lars Wendler (polynomial-c)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox