⇤ ← Revision 1 as of 2007-12-17 06:01:52
Size: 1154
Comment: created
|
Size: 1486
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 55: | Line 55: |
=== Comments === koen-beek : the /etc/init.d/foldingathome did not work for me (probably as pushd and popd were not recognised by the init scripts) I had to amend it to {{{ #!/bin/sh # /etc/init.d/foldingathome for Ubuntu # Start the F@H service. su YOUR_USERNAME_HERE -l -c "cd foldingathome && ./folding restart" }}} |
finstall
- Download the finstall script with wget:
cd ~ wget -c http://www.vendomar.ee/~ivo/finstall
- Make the script runnable:
chmod +x finstall
- Start it:
./finstall
After the client is installed You can start/stop/... FAH client with ./foldingathome/folding script. For Example(s)
~/foldingathome/folding start or ~/foldingathome/folding stop or ~/foldingathome/folding status
For me this was all I needed as it automatically created the init scripts I needed to start after reboot. However the init scripts don't seem to work for everyone, so if you need to do it manually:
- Make a file called foldingathome in the /etc/init.d directory:
gksudo gedit /etc/init.d/foldingathome
- Paste this in:
# /etc/init.d/foldingathome for Ubuntu # Start the F@H service. pushd /home/YOUR_USERNAME_HERE/foldingathome/ su YOUR_USERNAME_HERE -c "screen -d -m ./folding start" popd
- Save and exit
- Make a symlink into the /etc/rc2.d directory:
sudo ln -s /etc/init.d/foldingathome /etc/rc2.d/S99fah
Comments
koen-beek : the /etc/init.d/foldingathome did not work for me (probably as pushd and popd were not recognised by the init scripts) I had to amend it to
# /etc/init.d/foldingathome for Ubuntu # Start the F@H service. su YOUR_USERNAME_HERE -l -c "cd foldingathome && ./folding restart"