Message boards :
Questions and problems :
[Gentoo] Boinc stop the boot
Message board moderation
Author | Message |
---|---|
Send message Joined: 28 Oct 10 Posts: 3 |
Hi, I've installed BOINC yesterday and added the daemon to start at boot. But the daemon (/etc/init.d/boinc start) just don't give the console back. It says "Starting BOINC ... [OK]" and stay on it forever. When I boot now, the boot stop at Starting BOINC and just never continue. So, is there a way to modify the init script so it'll give back the console to the boot process ? Thanks |
Send message Joined: 29 Aug 05 Posts: 15483 |
Adding --detach as a command to Boinc will kill the terminal window, after Boinc has started. I think you'd also need --redirectio, to make sure output goes to the std*.txt files, and not to the now closed command line window. So that would make Boinc need to start with: boinc --redirectio --detach Also see the other command line options. One other thing you may want to do is add a start-up delay, in the form of a cc_config.xml file in the BOINC data directory, containing in the least: <cc_config> <log_flags> </log_flags> <options> <start_delay>N</start_delay> </options> </cc_config> Where N is any number resembling the amount of seconds you want it to stop. E.g. <start_delay>30</start_delay> will stop BOINC from starting up for 30 seconds. |
Send message Joined: 5 Oct 06 Posts: 5082 |
Jord, according to the Wiki the <start_delay> means Specify a number of seconds to delay running applications after client startup I don't think it'll have any effect on the startup for BOINC itself - in fact, thinking about it, BOINC will have to be running in order to read cc_config.xml |
Send message Joined: 29 Aug 05 Posts: 15483 |
Yeah ok, I said that wrong. I won't have any effect on starting up BOINC, but it will have an effect on its resource use when starting up. I can imagine (and see it here on Windows) that it starts up as soon as possible, the science applications start using resources you don't want them to use yet (memory, CPUs). This start delay prohibits that. It'll start BOINC, but won't start up the science applications until after these amount of seconds are run. Which may make the start-up sequence a little smoother. I also see we don't need the cc_config.xml for the start delay. It can also be done from the command line. So that makes starting BOINC like this: boinc --redirectio --start_delay 30 --detach |
Send message Joined: 30 Oct 05 Posts: 1239 |
Where did you get the init.d script? The one I use is here. Kathryn :o) |
Send message Joined: 6 May 06 Posts: 287 |
If you are using the gentoo ebuild then this thread http://forums.gentoo.org/viewtopic-t-835570-highlight-boinc.html from the Gentoo forums should help you Ulrar. --background / needs to be added to the eval statement. CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1 |
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.