Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 672 times and has 1 reply Next Thread
Quevar
Cruncher
Joined: Nov 10, 2005
Post Count: 1
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Boinc on a Mac running as a daemon not starting when idle

I've been running Boinc as a daemon for a while using 5.8.xx and it was working fine. I upgraded to 5.10.xx it stopped working. Boinc would not start up the projects unless I specified to run all the time, but I wanted it to start after 10 minutes. It would work if I was running the BoincManager, but not if it was run as a daemon. Is this a known issue or is there a better way to get it to run as a daemon?

I run it this way cause I don't like having the Boinc icon in my dock or in the menu bar. I want it to be completely in the background and also able to run regardless of who is logged in (or even on the loginscreen). I'm not set on this method of hiding the app, but I would like to figure out how to get it run like this with the 5.10 branch. Below is an explanation of what I did.

To get boinc to run as a daemon at startup, I placed the following code (with execute bit set) in: /Library/StartupItems/Boinc/Boinc
#!/bin/sh
. /etc/rc.common
ConsoleMessage "Starting TiVo Desktop"
cd /Library/Application\ Support/BOINC\ Data
/Applications/BOINCManager.app/Contents/Resources/boinc -return_results_immediately & > /tmp/Boinc.tmp


I put the following code in: /Library/StartupItems/Boinc/StartupParameters.plist
{
Description = "Boinc";
Provides = ("Boinc");
OrderPreference = "Late";
Messages = {
start = "Starting Boinc";
stop = "Stopping Boinc";
};
}

[Sep 21, 2007 2:06:02 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Boinc on a Mac running as a daemon not starting when idle

The version of Berkeley should offer an option to install as a service, which would stop any initial showing of an icon. Only when BOINCmgr is loaded would that occur. As for adhering to any options, the use of website options is known to work fairly reliable, whereas using the local preferences are still an issue in 5.10.20. Best to clear them completely thru the BOINCmgr Advanced Menu, Local Options. There is a button somewhere to do that.

We have no volunteer CAs momentarily with MAC experience, so we rely on other members to help out or read the BOINC developers forum to see if there is a like topic. MAC users are under 4% at WCG, so finding someone with the skills and the time to support here is not easy. The WCG tech staff have a MAC to test any project being ported to the apple platform, but don't know if they have come across the issue.

If it worked fine and you want only the service and the BOINCmgr just for the occasional housekeeping, suggest to revert back to 5.8.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Sep 21, 2007 6:56:26 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread