Make_BOINC_Service.sh on Leopard

Message boards : BOINC client : Make_BOINC_Service.sh on Leopard
Message board moderation

To post messages, you must log in.

AuthorMessage
ben

Send message
Joined: 16 Dec 05
Posts: 4
United States
Message 13657 - Posted: 7 Nov 2007, 22:35:30 UTC

does it work for anyone? not me. it's my understanding that StartupItems are deprecated. so i tried to write a LaunchDaemon, and it's not working either. it's below. can someone help me figure out what's wrong with it please! thanks. ben

<?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>edu.berkeley.boinc</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/boinc</string>
</array>
<key>WorkingDirectory</key>
<string>/usr/local/bin/boinc</string>
<key>UserName</key>
<string>boinc_master</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>


ID: 13657 · Report as offensive
ben

Send message
Joined: 16 Dec 05
Posts: 4
United States
Message 13658 - Posted: 7 Nov 2007, 22:46:42 UTC - in response to Message 13657.  

nevermind! the following works when put in /Library/LaunchDaemons. just had the executable name wrong.

<?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>edu.berkeley.boinc</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/boinc/boinc</string>
</array>
<key>WorkingDirectory</key>
<string>/usr/local/bin/boinc</string>
<key>UserName</key>
<string>boinc_master</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>

ID: 13658 · Report as offensive

Message boards : BOINC client : Make_BOINC_Service.sh on Leopard

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.