Questions and Answers :
Unix/Linux :
Running Slackware, Problem Modifying BOINC Startup Script
Message board moderation
Author | Message |
---|---|
![]() ![]() Send message Joined: 21 Jan 02 Posts: 240 Credit: 21,261 RAC: 0 |
I was rooting through my ~/BOINC directory a couple of day ago, when I noticed that the default 'run_client.sh' script doesn't output any stdout or stderror files that I could find. Also, when run from the command line it doesn't return control to the terminal. I decided this was the ideal oppertunity to test by bash scripting skills, which I soon discovered were non-existant :D Anyway, I am running the latest Slackware-current, Kernel 2.4.31 BOINC 4.43 and Seti 4.02 Here is the script in question, I managed to get it to write stdout (and hopefully stderror) to file but it still won't return to the terminal. The solution is something blindingly obvious I'm sure :) cd "/home/andrew/BOINC" && ./boinc >> /home/andrew/BOINC/output 2>> /home/andrew/BOINC/errors It should be all one line. So much for my 1337n355 ;D Need help? Check out the excellent Unofficial BOINC-Wiki! 'We are the BOINC. Prepare to be assimilated.' |
![]() Send message Joined: 22 Jul 99 Posts: 286 Credit: 10,113,361 RAC: 0 ![]() |
To background any process in bash simply add '&' to the end of the command. cd "/home/andrew/BOINC" && ./boinc >> /home/andrew/BOINC/output 2>> /home/andrew/BOINC/errors & This will give you your terminal back. This is what I use in run_client cd /home/seti/boinc ./boinc -allow_remote_gui_rpc >/dev/null 2>>/home/seti/boinc/stderrdae.txt & cd - Three lines. Good luck, David Stites Pullman, WA USA ![]() |
![]() ![]() Send message Joined: 21 Jan 02 Posts: 240 Credit: 21,261 RAC: 0 |
thanks a million - they should make your script the default :D Need help? Check out the excellent Unofficial BOINC-Wiki! 'We are the BOINC. Prepare to be assimilated.' |
©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.