Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58181 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]
amuled.initd
amuled.initd (text/plain), 1.04 KB, created by
harold.a.burchey
on 2005-05-05 23:08:49 UTC
(
hide
)
Description:
amuled.initd
Filename:
MIME Type:
Creator:
harold.a.burchey
Created:
2005-05-05 23:08:49 UTC
Size:
1.04 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 >} > >TIMEOUT=10 > >start() { > if ! test -d "$AMULEHOME/.aMule"; then > eerror "You must start and configure amuled before launch it. Sorry." > return 1 > fi > > if pgrep -u "$AMULEUSER" amuled >/dev/null; then > eerror "An instance of aMule Daemon is already running" > return 1 > fi > > ebegin "Starting aMule Daemon" > env HOME="$AMULEHOME" start-stop-daemon --start \ > --quiet --background \ > --make-pidfile --pidfile /var/run/amuled.pid \ > -c "$AMULEUSER" \ > -x /usr/bin/amuled &>"$LOG" > > START="$(date +%s)" > until pgrep -u "$AMULEUSER" amuled > /dev/null; do > if [ "$(date +%s)" -gt "$(($START+$TIMEOUT))" ]; then > eerror "aMule Daemon can't be started! Check logfile: $LOG" > return 1 > fi > done > eend $? >} > >stop() { > ebegin "Stopping aMule daemon" > start-stop-daemon --stop --signal HUP --pidfile /var/run/amuled.pid --retry "$TIMEOUT" >/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