Size: 1156
Comment: Fixed pushd and popd errors by specifying /bin/bash as shell
|
Size: 1126
Comment: use update-rc.d instead of ln
|
Deletions are marked like this. | Additions are marked like this. |
Line 51: | Line 51: |
4. Make a symlink into the /etc/rc2.d directory: | 4. Make it start at boot time: |
Line 53: | Line 53: |
sudo ln -s /etc/init.d/foldingathome /etc/rc2.d/S99fah | sudo update-rc.d foldingathome defaults 99 |
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 it start at boot time:
sudo update-rc.d foldingathome defaults 99