public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.34: fah-init
@ 2011-06-15 17:41 Jeffrey Gardner (je_fro)
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey Gardner (je_fro) @ 2011-06-15 17:41 UTC (permalink / raw
  To: gentoo-commits

je_fro      11/06/15 17:41:48

  Modified:             fah-init
  Log:
  Fix init script to stop service.
  
  (Portage version: 2.1.10.2/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sci-biology/foldingathome/files/6.34/fah-init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?r1=1.1&r2=1.2

Index: fah-init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fah-init	15 Jun 2011 17:26:03 -0000	1.1
+++ fah-init	15 Jun 2011 17:41:48 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v 1.1 2011/06/15 17:26:03 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v 1.2 2011/06/15 17:41:48 je_fro Exp $
 
 opts="${opts} unitinfo"
 
@@ -23,5 +23,5 @@
 	ebegin "Stopping Folding@Home"
 	start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}"
 	eend $?
-	[[ -f ${PIDFILE} ]] && killall --user foldingathome --signal SIGKILL
+	killall --user foldingathome --signal SIGKILL
 }






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

* [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.34: fah-init
@ 2011-06-28 15:14 Jeffrey Gardner (je_fro)
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey Gardner (je_fro) @ 2011-06-28 15:14 UTC (permalink / raw
  To: gentoo-commits

je_fro      11/06/28 15:14:16

  Modified:             fah-init
  Log:
  Change init script to use 'user' instead of 'chuid' for new openrc.
  
  (Portage version: 2.1.10.3/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  sci-biology/foldingathome/files/6.34/fah-init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?r1=1.2&r2=1.3

Index: fah-init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fah-init	15 Jun 2011 17:41:48 -0000	1.2
+++ fah-init	28 Jun 2011 15:14:16 -0000	1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v 1.2 2011/06/15 17:41:48 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v 1.3 2011/06/28 15:14:16 je_fro Exp $
 
 opts="${opts} unitinfo"
 
@@ -13,7 +13,7 @@
 start() {
 	ebegin "Starting Folding@Home"
 	cd /opt/foldingathome
-	start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 \
+	start-stop-daemon --chdir ${PWD} --user foldingathome --nicelevel 19 \
 		--make-pidfile --pidfile "${PIDFILE}" \
 		--start --background --exec ./fah6 -- ${FOLD_OPTS}
 	eend $?






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

* [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.34: fah-init
@ 2011-09-20 12:58 Jeffrey Gardner (je_fro)
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey Gardner (je_fro) @ 2011-09-20 12:58 UTC (permalink / raw
  To: gentoo-commits

je_fro      11/09/20 12:58:06

  Modified:             fah-init
  Log:
  Change opts to extra_commands in init script.
  
  (Portage version: 2.1.10.19/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  sci-biology/foldingathome/files/6.34/fah-init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?r1=1.3&r2=1.4

Index: fah-init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- fah-init	28 Jun 2011 15:14:16 -0000	1.3
+++ fah-init	20 Sep 2011 12:58:06 -0000	1.4
@@ -1,9 +1,9 @@
 #!/sbin/runscript
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v 1.3 2011/06/28 15:14:16 je_fro Exp $
+# $
 
-opts="${opts} unitinfo"
+extra_commands="unitinfo"
 
 unitinfo() {
 	einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):"






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

end of thread, other threads:[~2011-09-20 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 17:41 [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.34: fah-init Jeffrey Gardner (je_fro)
  -- strict thread matches above, loose matches on Subject: below --
2011-06-28 15:14 Jeffrey Gardner (je_fro)
2011-09-20 12:58 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