Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162343 Details for
Bug 234051
net-analyzer/pmacct-0.11.5 - Init script can't stop pmacctd (patch included)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
init script improvement
pmacctd-init-script.patch (text/plain), 960 bytes, created by
Patrick
on 2008-08-06 06:41:40 UTC
(
hide
)
Description:
init script improvement
Filename:
MIME Type:
Creator:
Patrick
Created:
2008-08-06 06:41:40 UTC
Size:
960 bytes
patch
obsolete
>--- pmacctd 2008-08-06 06:35:23.000000000 +0000 >+++ pmacctd.new 2008-08-06 06:34:52.000000000 +0000 >@@ -7,7 +7,7 @@ > need net > } > >-chekconfig() { >+checkconfig() { > if [ ! -e /etc/pmacctd.conf ] ; then > eerror "You need an /etc/pmacctd.conf file to run pmacctd" > return 1 >@@ -15,16 +15,16 @@ > } > > start() { >- chekconfig || return 1 >+ checkconfig || return 1 > ebegin "Starting pmacctd" >- start-stop-daemon --start --exec /usr/sbin/pmacctd \ >- -- -D -f /etc/pmacctd.conf ${OPTS} >+ start-stop-daemon --start --pidfile /var/run/pmacctd.pid --exec /usr/sbin/pmacctd \ >+ -- -D -f /etc/pmacctd.conf -F /var/run/pmacctd.pid ${OPTS} > eend $? > } > > stop() { > ebegin "Stopping pmacctd" >- start-stop-daemon --stop --exec /usr/sbin/pmacctd >+ start-stop-daemon --stop --pidfile /var/run/pmacctd.pid --exec /usr/sbin/pmacctd > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234051
: 162343