how to set boinc to run at startup.

Questions and Answers : Unix/Linux : how to set boinc to run at startup.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Voyager
Volunteer tester
Avatar

Send message
Joined: 2 Nov 99
Posts: 602
Credit: 3,264,813
RAC: 0
United States
Message 835028 - Posted: 28 Nov 2008, 3:23:32 UTC

Got it running but have to go to the folder and start it. would like it to start at boot, in case of a restart when I'm not around...
ID: 835028 · Report as offensive
John Deeth

Send message
Joined: 27 Sep 99
Posts: 8
Credit: 4,946,451
RAC: 0
United States
Message 838301 - Posted: 9 Dec 2008, 16:42:10 UTC - in response to Message 835028.  

In Ubuntu I'm able to set it to run at startup under Sessions
ID: 838301 · Report as offensive
Saphirus

Send message
Joined: 6 Jan 09
Posts: 1
Credit: 11,533
RAC: 0
Message 850904 - Posted: 8 Jan 2009, 18:13:35 UTC

Well, I'm running Gentoo linux, and the simple command, so long as you have "boinc" in /etc/init.d is

rc-update add boinc default
This will add boinc to the default runlevel, runlevel 3.

rc-update add boinc boot
And this one adds it to boot, which occurrs before default, but in my expereince, might as well just leave it at default.
ID: 850904 · Report as offensive
hsinyu

Send message
Joined: 25 Dec 08
Posts: 1
Credit: 1,282,978
RAC: 0
China
Message 868483 - Posted: 23 Feb 2009, 10:58:10 UTC

In Ubuntu, try to edit /etc/rc.local by using:
sudo gedit /etc/rc.local

Add a line before "exit 0" as:
/opt/BOINC/run_client >/dev/null
where /opt/BOINC is what your BOINC installed dir.

This will start the client as root after Ubuntu booting into multi-user level.
ID: 868483 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 868510 - Posted: 23 Feb 2009, 13:16:12 UTC - in response to Message 835028.  

See http://boinc.berkeley.edu/wiki/Starting_BOINC_on_boot_(Unix), which handles different flavors of Linux.
ID: 868510 · Report as offensive

Questions and Answers : Unix/Linux : how to set boinc to run at startup.


 
©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.