Questions and Answers :
Unix/Linux :
how to set boinc to run at startup.
Message board moderation
Author | Message |
---|---|
![]() ![]() Send message Joined: 2 Nov 99 Posts: 602 Credit: 3,264,813 RAC: 0 ![]() |
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... |
John Deeth Send message Joined: 27 Sep 99 Posts: 8 Credit: 4,946,451 RAC: 0 ![]() |
In Ubuntu I'm able to set it to run at startup under Sessions |
Saphirus Send message Joined: 6 Jan 09 Posts: 1 Credit: 11,533 RAC: 0 |
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. |
hsinyu Send message Joined: 25 Dec 08 Posts: 1 Credit: 1,282,978 RAC: 0 ![]() |
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. |
![]() Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 ![]() |
See http://boinc.berkeley.edu/wiki/Starting_BOINC_on_boot_(Unix), which handles different flavors of Linux. |
©2025 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.