Gentoo Archives: gentoo-commits

From: "Jeffrey Gardner (je_fro)" <je_fro@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.34: fah-init
Date: Tue, 28 Jun 2011 15:14:31
Message-Id: 20110628151416.7F9D820057@flycatcher.gentoo.org
1 je_fro 11/06/28 15:14:16
2
3 Modified: fah-init
4 Log:
5 Change init script to use 'user' instead of 'chuid' for new openrc.
6
7 (Portage version: 2.1.10.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 sci-biology/foldingathome/files/6.34/fah-init
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init?r1=1.2&r2=1.3
15
16 Index: fah-init
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.34/fah-init,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- fah-init 15 Jun 2011 17:41:48 -0000 1.2
23 +++ fah-init 28 Jun 2011 15:14:16 -0000 1.3
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $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 $
29 +# $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 $
30
31 opts="${opts} unitinfo"
32
33 @@ -13,7 +13,7 @@
34 start() {
35 ebegin "Starting Folding@Home"
36 cd /opt/foldingathome
37 - start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 \
38 + start-stop-daemon --chdir ${PWD} --user foldingathome --nicelevel 19 \
39 --make-pidfile --pidfile "${PIDFILE}" \
40 --start --background --exec ./fah6 -- ${FOLD_OPTS}
41 eend $?