Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
Date: Tue, 10 Nov 2009 21:42:51
Message-Id: E1N7yUD-00031d-JU@stork.gentoo.org
1 scarabeus 09/11/10 21:42:49
2
3 Modified: boinc.init
4 Log:
5 Update initscript to fix bug #289853.
6 (Portage version: 2.2_rc48/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.18 sci-misc/boinc/files/boinc.init
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.18&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.18&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.17&r2=1.18
14
15 Index: boinc.init
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
18 retrieving revision 1.17
19 retrieving revision 1.18
20 diff -u -r1.17 -r1.18
21 --- boinc.init 2 Sep 2009 21:22:20 -0000 1.17
22 +++ boinc.init 10 Nov 2009 21:42:49 -0000 1.18
23 @@ -100,9 +100,9 @@
24 printf " Enter your Account Key: "
25 read key
26
27 - RC_QUIET_STDOUT="yes" svc_status
28 + RC_QUIET_STDOUT="yes" status
29 if [ $? = 1 ]; then
30 - svc_start
31 + start
32 fi
33 ebegin "Attaching to project"
34 # we have to work in runtime directory
35 @@ -125,6 +125,7 @@
36 }
37
38 restart() {
39 - svc_stop
40 - svc_start
41 + stop
42 + sleep 3
43 + start
44 }