As well as some more info on the setup options that './fah6 -configonly -smp' takes you through. Client 6.29 will ask for additional parameters where -smp -verbosity 9 can be added. If these are entered in during setup, DO NOT start the program with those parameters in the command line (i.e. ./fah6 -smp -verbosity 9), or as a command for starting it as a service. This will cause FAH to start with the parameters doubled up (i.e. -smp -smp -verbosity 9 -verbosity 9) which will make things REALLY UNSTABLE. There should be some extra info and maybe some warnings put in place to ensure people don't run FAH with the double parameters.
Also the
How to start the linux SMP client as a service section might need to be revised a bit. While installing it on Linux Mint 8 it seemed I had to use commands from if I installed as root and then the rest of the commands from the first section to copy the folder and then the commands after it to update the process while being signed in as
su even though I hadn't signed in as super user till that point.
One more thing:
Note: If you installed the client under root user account, do this instead :
echo "# chkconfig: 345 93 14" > ./folding
echo "# description: will start FAH client as a service" >> ./folding
echo "cd $PWD; ./fah6 -smp -verbosity 9 < /dev/null > /dev/null 2>&1 &" >>
/etc/init.d/folding
chmod +x /etc/init.d/folding
Got one too many '>' in there, I turned it bold red so you can see it, the code should be as follows.
- Code: Select all
echo "# chkconfig: 345 93 14" > ./folding
echo "# description: will start FAH client as a service" >> ./folding
echo "cd $PWD; ./fah6 -smp -verbosity 9 < /dev/null > /dev/null 2>&1 &" > /etc/init.d/folding
chmod +x /etc/init.d/folding
A better idea might be to leave the -smp -verbosity 9 out of this section entirely and have the user set those up during the -configonly process by changing the advanced settings.
- Code: Select all
echo "# chkconfig: 345 93 14" > ./folding
echo "# description: will start FAH client as a service" >> ./folding
echo "cd $PWD; ./fah6 < /dev/null > /dev/null 2>&1 &" > /etc/init.d/folding
chmod +x /etc/init.d/folding