summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-04-19 19:08:08 +0000
committerCédric Krier <cedk@gentoo.org>2007-04-19 19:08:08 +0000
commitdfa57eff3b9a7d01018e6ce5056d0c44a5464397 (patch)
treefb327fade56e75c1ac0c7cbcb79c2507ca52a99d /net-analyzer/mrtg/files
parentFix pax markings, 1.4 needs -srpm for bug #174951. And change the location of... (diff)
downloadgentoo-2-dfa57eff3b9a7d01018e6ce5056d0c44a5464397.tar.gz
gentoo-2-dfa57eff3b9a7d01018e6ce5056d0c44a5464397.tar.bz2
gentoo-2-dfa57eff3b9a7d01018e6ce5056d0c44a5464397.zip
net-analyser/mrtg: Add --name to init script for bug #174499
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-analyzer/mrtg/files')
-rw-r--r--net-analyzer/mrtg/files/mrtg.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/mrtg/files/mrtg.rc b/net-analyzer/mrtg/files/mrtg.rc
index fabc9cadf4c0..347d4c7f4416 100644
--- a/net-analyzer/mrtg/files/mrtg.rc
+++ b/net-analyzer/mrtg/files/mrtg.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mrtg/files/mrtg.rc,v 1.6 2007/01/03 23:03:21 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mrtg/files/mrtg.rc,v 1.7 2007/04/19 19:08:08 cedk Exp $
depend() {
need net
@@ -41,7 +41,7 @@ start() {
MRTG_OPTS="${MRTG_OPTS} --group ${MRTG_GROUP}"
ebegin "Starting mrtg"
- start-stop-daemon --start --quiet --pidfile ${MRTG_PID} \
+ start-stop-daemon --start --quiet --pidfile ${MRTG_PID} --name mrtg\
--exec /usr/bin/mrtg -- --daemon --pid-file=${MRTG_PID} \
${MRTG_OPTS} ${MRTG_CONF} >/dev/null
eend $? "Failed to start mrtg"