Questions and Answers :
Macintosh :
tiger's launchd / LaunchDaemons
Message board moderation
Author | Message |
---|---|
bjarthur Send message Joined: 12 Jun 99 Posts: 2 Credit: 20,640,504 RAC: 14 |
has anyone figured out how to get boinc to startup automatically in 10.4 using apple's new boot procedure? seems to me one could add a .plist to /Library/LaunchDaemons for boinc, but i'm not familiar enough with the way things work to figure it out. i think doing it this way would be a lot better than adding it to a users login items. particularly for multi-user computers like mine. |
jkline Send message Joined: 29 Jun 99 Posts: 1 Credit: 12,761 RAC: 0 |
Here is a plist for starting boinc with launchd in OS X Tiger 10.4 that seems to work for me. To have boinc run at startup put this in a file /Library/LaunchDaemons/edu.berkeley.boinc.plist I don't know what the debug key does, but it seemed like a good idea since i'm new to this whole launchd thing. Note that I have a symlink /Library/boinc/boinc_current which points to my latest version of the boinc binary. The paths for working dir and log files may need to change based on your local configuration. Good luck! <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd > <plist version="1.0"> <dict> <key>Label</key> <string>net.jonfram.boinc.plist</string> <key>ProgramArguments</key> <array> <string>/Library/boinc/boinc_current</string> </array> <key>WorkingDirectory</key> <string>/Library/boinc/ByHost</string> <key>StandardOutPath</key> <string>/Library/boinc/ByHost/boinc.log</string> <key>StandardErrorPath</key> <string>/Library/boinc/ByHost/boinc.log</string> <key>OnDemand</key> <false/> <key>ServiceDescription</key> <string>Runs the boinc distributed computing program</string> <key>Debug</key> <true/> </dict> </plist> |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.