Page 1 of 1

Start folding automatically at startup [8.4.9]

Posted: Thu Mar 06, 2025 3:33 pm
by spf2001
Hi there! I am using the folding@home client as an example GPU workload in a Kubernetes cluster. By leveraging the linuxserver.io image, I have successfully deployed FAH into my cluster including setting it up with an account/team via environment variables.

The issue I am looking to resolve is setting up the client to automatically begin folding at startup instead of waiting for me to goto the webui and click "Start".

Is this something I can do with an additional argument, env, or config file?

Re: Start folding automatically at startup [8.4.9]

Posted: Thu Mar 06, 2025 3:52 pm
by spf2001
Looks like I may potentially be able to set something like this?

Code: Select all

state=fold
https://github.com/FoldingAtHome/fah-cl ... ig.cpp#L79

Re: Start folding automatically at startup [8.4.9]

Posted: Thu Mar 06, 2025 4:37 pm
by muziqaz
This is not advisable because half of the people who install fah have systems which are not set up for folding driver wise or API wise. That results in loads of units wasted before users realise stuff is not working.

Re: Start folding automatically at startup [8.4.9]

Posted: Thu Mar 06, 2025 4:43 pm
by spf2001
That makes sense. But why not offer it as an option where the default is to not automatically start?

Re: Start folding automatically at startup [8.4.9]

Posted: Thu Mar 06, 2025 6:58 pm
by Joe_H
Possibly from at least a decade of complaints about the autostart in the v7 client even though it was relatively easily to configure off.

Re: Start folding automatically at startup [8.4.9]

Posted: Thu Mar 06, 2025 9:53 pm
by calxalot
You can also send a fold command using fahctl python script, which is installed with the client on Linux.