Folding@Home startup script for Ubuntu

I have written an init-style startup script for the Folding@Home client. This script will allow the Folding@Home client to automatically startup in the background at boot, as well as give you more control over the running of the process. This script will work with some other distributions as well, but so far it has only been tested on Ubuntu 7.10.

If you enjoy it, hate it, or have tested it on another platform or are having a problem, then please feel free to leave a comment :-)

Installation Instructions
Installation is pretty simple. These instructions assume that you have already started the Folding@Home client for the first time and configured it. To set up this script, perform the following ## steps:

  1. Download the file named "folding" below.
  2. Edit the file in your favorite editor, change any variables as needed. Specifically, FAH_PATH, MY_USERNAME, and MY_GROUP.
  3. Move the file to the appropriate start-up location and set proper permissions. On most distributions, you should be able to do that like this:
    sudo mv /path/where/you/downloaded/folding/script /etc/init.d/folding
    sudo chmod 755 /etc/init.d/folding
  4. Enable the script at startup. You will need to do this by creating a symlink.
    cd /etc/rc3.d
    ln -s ../init.d/folding S99folding
  5. At this point, you only need to reboot or you can start the script manually!
    # Starting Folding@Home
    sudo /etc/init.d/folding start
     
    # Stopping Folding@Home
    sudo /etc/init.d/folding stop

AttachmentSize
folding1.26 KB

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <blockcode> <ul> <ol> <li> <dl> <dt> <dd> <br /> <p> <pre> <blockquote> <s>
  • Lines and paragraphs break automatically.

More information about formatting options