Help to get my linux box folding

JBJB Carlsbad, CA
edited November 2003 in Folding@Home
Ok, here is the deal, ive been searching everywhere and cant find out how to do this...Im running Debian Linux on my server, and i want to have F@H run at bootup. I guess i could use screen, but i dont want to have to go in and start it whenever i boot up my system. I tried a technique on a web page by using rc.local, but then it ignored my config file and started folding under annoymous:( anyone else have this working?

Comments

  • EnverexEnverex Worcester, UK Icrontian
    edited November 2003
    You need to specify the location for the program to run before running it.

    I'm guessing the command looked something like -

    /opt/foldingathome/console.exe 1>&2 >/dev/null &

    But what you actually need in there is -

    cd /opt/foldingathome && /opt/foldingathome/console.exe 1>&2 >/dev/null &

    If you dont set the CD before hand then it will make new config files where the console executing pointers current directory is... (either / or your home).

    NS
  • JBJB Carlsbad, CA
    edited November 2003
    does "1>&2 >/dev/null &" hide the output?
  • EnverexEnverex Worcester, UK Icrontian
    edited November 2003
    Yeah, so it doesn't kill the startup script, otherwise the script would stop running programs and become a output for FAH.

    The & on the end just means carry on, so it doesn't hold up the prompt.

    NS
  • JBJB Carlsbad, CA
    edited November 2003
    Thanks NightShade! Here is a pic of my server folding away everyone! Its only a 550Mhz K6-2, but it should turn in a WU every couple days!
    ssh.jpg 62.4K
Sign In or Register to comment.