*** foldingathome.orig Sun Jun 18 19:57:34 2006 --- foldingathome Sun Jun 18 19:59:04 2006 *************** *** 32,38 **** for (($CPU; CPU > 0; CPU--)); do ebegin "Starting Folding@Home on CPU ${CPU}" cd /opt/foldingathome/client${CPU}/ ! start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 --start --background --exec ./foldingathome -- ${FOLD_OPTS} eend $? done } --- 32,38 ---- for (($CPU; CPU > 0; CPU--)); do ebegin "Starting Folding@Home on CPU ${CPU}" cd /opt/foldingathome/client${CPU}/ ! schedtool -B -e start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 --start --background --exec ./foldingathome -- ${FOLD_OPTS} eend $? done }
hmm this doesn't work as the actual Fah_Core processes don't get scheduled as batch. I've put in a cron job to find the name of the Fah processes using grep and then running schedtool -B `pidof coreexename`. Running this everyhour seems to work well but I'm not sure why the Batch scheduling does not propigate to the actual Fah client app.
Thanks for your work anyway. If you have an updated patch that does work, feel free to reopen.