climateprediction.net home page
Posts by old_user108017

Posts by old_user108017

1) Questions and Answers : Macintosh : Running BOINC on MacOSX at startup (Message 17198)
Posted 15 Nov 2005 by old_user108017
Post:
Woops, sorry, I made an error in the instructions. Under Step 8 in terminal, you have to

cd /Library/StartupItems/boinc

Then do the chmod as above. If you want to be \"unixly correct\" you can also do the following while you are in the /Library/StartupItems/boinc directory:

chown root:admin *

Sorry for the snafu!

jacke
2) Questions and Answers : Macintosh : Running BOINC on MacOSX at startup (Message 17197)
Posted 15 Nov 2005 by old_user108017
Post:
3) Questions and Answers : Macintosh : Running BOINC on MacOSX at startup (Message 17196)
Posted 15 Nov 2005 by old_user108017
Post:
Hi all,
I successfully got BOINC running on my machine from startup - that way I don\'t have to be logged in and it runs happily in the background no matter who is logged in (or if nobody is).

Assuming you installed the Mac BOINCManager client in /Applications (the default) and that /BOINC Data/ is in /Library/Application Support/ (also the default), here\'s how to do it:

1. Navigate to /Library/StartupItems/
2. Make a new folder called \'boinc\' there (no quotes).
3. In your favorite text editor, make a new file.
4. Paste the following into it: note that the everything after nohup goes on one line.

#! /bin/sh

#boinc system startup file
#hardcoded - change paths to match your setup.

nohup /Applications/BOINCManager.app/Contents/Resources/boinc -dir /Library/Application\\ Support/BOINC\\ Data/ -redirectio >> /Library/Application\\ Support/BOINC\\ Data/startupitem.out &

5. Save your file with the name boinc in the new folder boinc.
6. Open another new file. Paste the following into it:

{
Description = \"boinc\";
Provides = (\"boinc\");
Requires = (\"Network\");
OrderPreference = \"None\";
}

7. Save this file with the name StartupParameters.plist, also in the new boinc folder (/Library/StartupItems/boinc).

8. Fire up Terminal. In Terminal, type the following:

cd /Applications/StartupItems/boinc
chmod +x boinc

9. Reboot!

This works fine on my box (OSX 10.4.3). I have seen a couple of posts using the CLI client, but this has the nice benefit of using the bundled boinc client that comes with BoincManager. This avoids running multiple instances of boinc and connects fine to the GUI client and is controllable from BoincManager. It also keeps all your projects organized in one place.

Boinc Ho!
jacke




©2024 climateprediction.net