Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 305331 Details for
Bug 408191
net-nntp/hellanzb uses deprecated opts in init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hellanzb.init
hellanzb (text/plain), 835 bytes, created by
Sébastien P.
on 2012-03-14 18:43:03 UTC
(
hide
)
Description:
hellanzb.init
Filename:
MIME Type:
Creator:
Sébastien P.
Created:
2012-03-14 18:43:03 UTC
Size:
835 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >extra_commands="check_config" > >depend() { > need net >} > >start() { > ebegin "Starting hellanzb" > if ! check_config ; then > eend 1 > return 1 > fi > if [ "${RC_CMD}" = "restart" ] ; then > sleep 1 # wait for socket to be released > fi > > start-stop-daemon --start -c ${HELLA_USER} \ > -g ${HELLA_GROUP} --name hellanzb.py \ > --exec /usr/bin/hellanzb.py -- \ > -D -c ${HELLA_CONFIGFILE} ${HELLA_OPTS} &> /dev/null > eend $? >} > >stop() { > ebegin "Stopping hellanzb" > /usr/bin/hellanzb.py shutdown &> /dev/null > eend $? >} > >check_config() { > if [ ! -e ${HELLA_CONFIGFILE} ] ; then > eerror "ERROR: can't find ${HELLA_CONFIGFILE}." > return 1 > else > return 0 > fi >}
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 408191
:
305331