Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195262 Details for
Bug 274779
net-analyzer/vnstat: ebuild revamp
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
vnstatd.initd
vnstatd.initd (text/plain), 861 bytes, created by
Gordon Malm (RETIRED)
on 2009-06-20 10:10:56 UTC
(
hide
)
Description:
vnstatd.initd
Filename:
MIME Type:
Creator:
Gordon Malm (RETIRED)
Created:
2009-06-20 10:10:56 UTC
Size:
861 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >opts="reload" > >depend() { > use net >} > >VNSTATD_PIDFILE="${VNSTATD_PIDFILE:-/var/run/vnstatd/vnstatd.pid}" > >start() { > ebegin "Starting vnstatd" > start-stop-daemon --start --quiet \ > --pidfile "${VNSTATD_PIDFILE}" \ > --chuid vnstat:vnstat \ > --nicelevel ${VNSTATD_NICELEVEL:-0} \ > --exec /usr/bin/vnstatd -- \ > -d ${VNSTATD_EXTRAOPTS} -p ${VNSTATD_PIDFILE} > eend $? >} > >stop() { > ebegin "Stopping vnstatd" > start-stop-daemon --stop --quiet \ > --pidfile "${VNSTATD_PIDFILE}" > eend $? >} > >reload() { > if [ ! -f ${VNSTATD_PIDFILE} ]; then > eerror "Cannot reload configuration, vnstatd is not running" > eend 1 > return 1 > fi > > ebegin "Reloading vnstatd configuration" > kill -HUP `cat ${VNSTATD_PIDFILE}` &>/dev/null > 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 274779
:
195259
|
195260
| 195262 |
195263
|
195264