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

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

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 :

:~$ 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

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 :

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 ( 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.