Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53120 Details for
Bug 84799
[New ebuild] Boinc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/init.d/boinc
boinc (text/plain), 1.12 KB, created by
Bertrand Jacquin
on 2005-03-10 17:04:42 UTC
(
hide
)
Description:
files/init.d/boinc
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2005-03-10 17:04:42 UTC
Size:
1.12 KB
patch
obsolete
>#!/sbin/runscript > >opts="start stop restart" > >depend() { > use dns > need net >} > >start() { > ebegin "Starting BOINC" > if [ ! -d ${RUNTIMEDIR} ] > then > einfo "Directory ${RUNTIMEDIR} not existing, creating now." > /bin/mkdir ${RUNTIMEDIR} > /bin/chown ${USER}:${GROUP} ${RUNTIMEDIR} -R > if [ ! -d ${RUNTIMEDIR} ] > then > eerror "Directory ${RUNTIMEDIR} could not be created!" > return 1 > fi > fi > > cd ${RUNTIMEDIR} > > if [ ! -f lockfile ] > then > einfo "File ${RUNTIMEDIR}/lockfile not existing, assuming first run." > einfo "You need to setup an account on the BOINC project homepage beforehand! Go to http://boinc.berkeley.edu/ and locate your project." > su boinc -c "${BOINCBIN} -show_projects" > > if [ ! -f lockfile ] > then > eerror "File ${RUNTIMEDIR}/lockfile still not created! You should setup ${RUNTIMEDIR} yourself." > return 1 > fi > einfo "Done setting up!" > fi > > start-stop-daemon --quiet --start --exec ${STARTSCRIPT} \ > --chuid ${USER}:${GROUP} -- ${BOINCBIN} ${LOGFILE} > eend $? >} > >stop() { > ebegin "Stopping BOINC" > start-stop-daemon --stop --quiet --exec ${BOINCBIN} > eend $? >} > >restart() { > svc_stop > sleep 10 > svc_start >}
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 84799
:
53115
|
53116
|
53117
|
53118
|
53119
| 53120 |
53802
|
53818
|
53819
|
53820