Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53299 Details for
Bug 71108
new ebuild for amule 2.0.0 Final
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d/amuleweb
amuleweb.initd (text/plain), 1.05 KB, created by
Diego Elio Pettenò (RETIRED)
on 2005-03-12 16:02:53 UTC
(
hide
)
Description:
init.d/amuleweb
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2005-03-12 16:02:53 UTC
Size:
1.05 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net > use amuled >} > >start() { > if ! test -f "${AMULEHOME}/.eMule"; then > eerror "You must start and configure amuleweb before launch it. Sorry." > return 1 > fi > > if pgrep -u ${AMULEUSER} amuleweb >/dev/null; then > eerror "An instance of aMule webserver is already running" > return 1 > fi > > rm /var/run/amuleweb.pid > > OPTIONS="-rh ${AMULEHOST} -p ${AMULEPORT} -pw ${AMULEPWD}" > > einfo $OPTIONS > ebegin "Starting aMule WebServer" > env HOME="${AMULEHOME}" start-stop-daemon --start \ > --quiet -b \ > --make-pidfile --pidfile /var/run/amuleweb.pid \ > -c ${AMULEUSER} \ > -x /usr/bin/amuleweb -- ${OPTIONS} &>${LOG} > > sleep 1 > if ! pgrep -u ${AMULEUSER} amuleweb > /dev/null; then > eerror "aMule daemon can't be started! Check logfile: ${LOG}" > eend 1 > return 1 > fi > eend $? >} > >stop() { > ebegin "Stopping aMule WebServer" > start-stop-daemon --oknodo --stop --pidfile /var/run/amuleweb.pid &>/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 71108
:
43895
|
46633
|
53171
|
53295
|
53296
|
53297
|
53298
| 53299 |
53300
|
56355
|
56356
|
57298
|
57299
|
57898
|
57942
|
57943
|
58075
|
58119
|
58120
|
58181
|
58183
|
58184
|
58705
|
58706
|
59163
|
59993
|
61481