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: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 821 times and has 4 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
BOINC linux and daemonizing the program

Greetings!

I am totally new to using the BOINC client, and I haven't really found very much documentation for it. I like the manager, which shows me what is going on, how much is complete, how long it's going to take, how much disk useage, etc. But at the same time, I do not want to have to have BOINC running in the foreground all the time and have the manager constantly open to get this information.

Other linux programs solve this problem by making a daemon program instead of a user program, and having a user-mode "client" that can peek in on info about the daemon program. Examples include dhcpd, httpd (apache or tomcat), and nfsd.

BOINC doesn't appear to be a daemon.

Does anyone know how I could close the manager completely, keep BOINC running in the background, then open the manager again when I'd like to check in on it?
[Oct 1, 2007 5:05:25 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC linux and daemonizing the program

BOINC runs just fine as a daemon/service. The easiest way to set it up properly is to install BOINC using your package manager. There is a BOINC package for Debian, and a few other distros too. This will handle all the config files and everything for you.

If you want to do it manually, then you can just run boinc (not boincmgr) as a background process. Then, when you run boincmgr it will connect to the running boinc process instead of starting a new boinc process.
[Oct 1, 2007 7:16:53 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC linux and daemonizing the program

http://www.spy-hill.net/~myers/help/boinc/unix.html

There are daemon install instructions on that page as well. There's a start/stop script too.

I can confirm it works on Fedora 7. And one of these days I'll check it on Ubuntu 7.04.
[Oct 1, 2007 9:47:04 AM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC linux and daemonizing the program

Does anyone know how I could close the manager completely, keep BOINC running in the background, then open the manager again when I'd like to check in on it?
To precisely answer this part of your post, you only need to close BoincMgr's window. In Windows the most obvious way is to click the white-on-red cross in the upper right corner. I am not a Linux man yet so I leave you find the Linux equivalent. You can also press Ctrl+W while BoincMgr has the focus. Or from the advance view select File->Close window (not Quit).

Cheers. Jean.
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Oct 1, 2007 7:52:20 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC linux and daemonizing the program

I believe control-w will also work under Linux.

Probably the easiest way to run as a daemon is to start it with (I believe) 'boinc -d'. If that doesn't work, try boinc --help and it should be more helpful.
[Oct 2, 2007 12:03:15 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread