public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.02: fah-init initfolding folding-conf.d
@ 2008-08-03  3:20 Jeffrey Gardner (je_fro)
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey Gardner (je_fro) @ 2008-08-03  3:20 UTC (permalink / raw
  To: gentoo-commits

je_fro      08/08/03 03:20:00

  Added:                fah-init initfolding folding-conf.d
  Log:
  Latest, thanks to Nicolas Schlumberger, closing bug #233751
  (Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)

Revision  Changes    Path
1.1                  sci-biology/foldingathome/files/6.02/fah-init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init?rev=1.1&content-type=text/plain

Index: fah-init
===================================================================
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init,v 1.1 2008/08/03 03:19:59 je_fro Exp $

opts="${opts} unitinfo"

unitinfo() {
	einfo "$(head -n1 /opt/foldingathome/amd64-smp/unitinfo.txt):"
	sed -e '1,2d' /opt/foldingathome/amd64-smp/unitinfo.txt
}

start() {
	ebegin "Starting Folding@Home"
	cd /opt/foldingathome/amd64-smp
	start-stop-daemon -v --chdir ${PWD} --chuid foldingathome --nicelevel 19 --start --background --exec ./fah6 -- ${FOLD_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping Folding@Home"
	start-stop-daemon -vv --stop --user foldingathome --exec /opt/foldingathome/amd64-smp/fah6
	cd /opt/foldingathome/amd64-smp
	for I in FahCore*.exe; do
		if ps ax|grep $I > /dev/null 2>&1; then
			killall -q $I > /dev/null 2>&1
		fi
	done
	sleep 1
	if ps ax|grep '[/]opt[/]foldingathome[/]amd64-smp[/]fah6' > /dev/null 2>&1; then
		eend 1
	else
		eend 0
	fi
}




1.1                  sci-biology/foldingathome/files/6.02/initfolding

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/initfolding?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/initfolding?rev=1.1&content-type=text/plain

Index: initfolding
===================================================================
#!/bin/sh

cd /opt/foldingathome/amd64-smp
/opt/foldingathome/amd64-smp/fah6 -configonly
/bin/chown -R foldingathome:nogroup /opt/foldingathome/amd64-smp




1.1                  sci-biology/foldingathome/files/6.02/folding-conf.d

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/folding-conf.d?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/folding-conf.d?rev=1.1&content-type=text/plain

Index: folding-conf.d
===================================================================
# Config file for /etc/init.d/foldingathome
#
# The f@h client configuration can be found in /opt/foldingathome/client.cfg
# Run /opt/foldingathome/initfolding to reconfigure that.
#
# Enter options here to be passed to the Folding client:
#
#  -oneunit	Instruct the client to quit following the completion of one work unit.
#  -verbosity x Sets the output level, from 1 to 9 (max). The default is 3
#  -forceasm    Force core assembly optimizations to be used if available
#  -advmethods  Request to be assigned any new Cores or work units.
#  -smp		Set the client to run in SMP mode (multicore)
#
# A full listing of options can be found here:
# http://www.stanford.edu/group/pandegroup/folding/console-userguide.html
# But use of other options are not recommended when using the Folding client
# as a service.
#
FOLD_OPTS="-local"
PIDFILE=/var/run/folding







^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.02: fah-init initfolding folding-conf.d
@ 2011-06-15 18:00 Jeffrey Gardner (je_fro)
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey Gardner (je_fro) @ 2011-06-15 18:00 UTC (permalink / raw
  To: gentoo-commits

je_fro      11/06/15 18:00:53

  Removed:              fah-init initfolding folding-conf.d
  Log:
  Remove broken old versions.
  
  (Portage version: 2.1.10.2/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-15 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 18:00 [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.02: fah-init initfolding folding-conf.d Jeffrey Gardner (je_fro)
  -- strict thread matches above, loose matches on Subject: below --
2008-08-03  3:20 Jeffrey Gardner (je_fro)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox