Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318410 Details for
Bug 426956
net-analyzer/pmacct - /etc/init.d/pmacctd - allow multiple daemons to run concurrently
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
prepatched init-script
pmacctd (text/plain), 936 bytes, created by
Jens Ott
on 2012-07-17 09:08:33 UTC
(
hide
)
Description:
prepatched init-script
Filename:
MIME Type:
Creator:
Jens Ott
Created:
2012-07-17 09:08:33 UTC
Size:
936 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/files/pmacctd-init.d,v 1.6 2012/04/13 15:54:38 jer Exp $ > >PMACCTDDIR=${PMACCTDDIR:-/etc/pmacctd} >if [ ${SVCNAME} != "pmacctd" ]; then > PMACCTDPID="/var/run/${SVCNAME}.pid" >else > PMACCTDPID="/var/run/pmacctd.pid" >fi >PMACCTDCONF="${PMACCTDDIR}/${SVCNAME}.conf" > >depend() { > need net >} > >checkconfig() { > if [ ! -e ${PMACCTDCONF} ] ; then > eerror "You need an ${PMACCTDCONF} file to run pmacctd" > return 1 > fi >} > >start() { > checkconfig || return 1 > ebegin "Starting ${SVCNAME}" > start-stop-daemon --start --pidfile "${PMACCTDPID}" --exec /usr/sbin/${SVCNAME} \ > -- -D -f "${PMACCTDCONF}" -F "${PMACCTDPID}" ${OPTS} > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --stop --pidfile "${PMACCTDPID}" --exec /usr/sbin/${SVCNAME} > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 426956
: 318410 |
318412