How do I get folding to auto start at reboot?

Asked by Raivis Dejus

Is there a way to get folding to auto start at reboot?

It would be nice if folding started automatically. I don't know if it is a bug or just a missing feature..

Question information

Language:
English Edit question
Status:
Solved
For:
origami Edit question
Assignee:
No assignee Edit question
Solved by:
Raivis Dejus
Solved:
Last query:
Last reply:
Revision history for this message
Christer Edwards (christer.edwards) said :
#1

folding *should* be starting on reboot already. Can you tell me what version of folding you're using (by the way there have been some major upgrades and a name change recently) and also show me the output of the following commands:

ls -hal /etc/init.d/folding
cat /etc/*release

Revision history for this message
Raivis Dejus (orvils) said :
#2

:~$ ls -hal /etc/init.d/folding
-rwxr-xr-x 1 root root 51K 2008-04-19 16:20 /etc/init.d/folding
:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

For some reason folding was not starting for me. I think there was no /etc/init.d/folding, only /etc/init.d/origami. I looked at it for a bit and found that I need to run the following command:
sudo /var/lib/origami/foldingathome/installService
After this folding starts on reboot.

Thanks for your script, it was really usefull for me :)

Revision history for this message
Christer Edwards (christer.edwards) said :
#3

odd, the latest releases of origami should run installService for you as well. Must be a fluke, or a bug I didn't catch. In my testing it has worked though..

If you're running the latest origami release (0.6.6.1 update uploaded earlier today) you will want to rename /etc/init.d/folding to /etc/init.d/origami. Otherwise it'll cause a few problems. Otherwise you should be set.