1 |
bicatali 09/01/20 18:04:09 |
2 |
|
3 |
Modified: rootd.initd proofd.initd xrootd.initd |
4 |
Log: |
5 |
Fixed postgresql configuration (bug #251590), fixed server rootd and proofd files |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-physics/root/files/rootd.initd |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/rootd.initd?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/rootd.initd?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/rootd.initd?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: rootd.initd |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/files/rootd.initd,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- rootd.initd 18 Dec 2008 18:10:18 -0000 1.1 |
22 |
+++ rootd.initd 20 Jan 2009 18:04:09 -0000 1.2 |
23 |
@@ -1,7 +1,7 @@ |
24 |
#!/sbin/runscript |
25 |
# Copyright 1999-2008 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/rootd.initd,v 1.1 2008/12/18 18:10:18 bicatali Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/rootd.initd,v 1.2 2009/01/20 18:04:09 bicatali Exp $ |
29 |
|
30 |
depend() { |
31 |
need net |
32 |
@@ -11,10 +11,10 @@ |
33 |
|
34 |
start() { |
35 |
ebegin "Starting ROOT file server" |
36 |
- pid=$(start-stop-daemon --start --quiet --user=${ROOTD_USER} \ |
37 |
- --pidfile=/var/run/rootd.pid \ |
38 |
+ pid=$(start-stop-daemon --start --quiet --user ${ROOTD_USER} \ |
39 |
+ --pidfile /var/run/rootd.pid \ |
40 |
--exec /usr/bin/rootd -- ${ROOTD_OPTS}) |
41 |
- eval ${pid} |
42 |
+ retval=$? |
43 |
echo ${ROOTD_PID} > /var/run/rootd.pid |
44 |
eend ${retval} |
45 |
} |
46 |
@@ -22,7 +22,7 @@ |
47 |
stop() { |
48 |
ebegin "Stopping ROOT file server" |
49 |
start-stop-daemon --stop --quiet \ |
50 |
- --pidfile=/var/run/rootd.pid \ |
51 |
+ --pidfile /var/run/rootd.pid \ |
52 |
--exec /usr/bin/rootd |
53 |
eend $? |
54 |
} |
55 |
|
56 |
|
57 |
|
58 |
1.2 sci-physics/root/files/proofd.initd |
59 |
|
60 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/proofd.initd?rev=1.2&view=markup |
61 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/proofd.initd?rev=1.2&content-type=text/plain |
62 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/proofd.initd?r1=1.1&r2=1.2 |
63 |
|
64 |
Index: proofd.initd |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/files/proofd.initd,v |
67 |
retrieving revision 1.1 |
68 |
retrieving revision 1.2 |
69 |
diff -u -r1.1 -r1.2 |
70 |
--- proofd.initd 18 Dec 2008 18:10:18 -0000 1.1 |
71 |
+++ proofd.initd 20 Jan 2009 18:04:09 -0000 1.2 |
72 |
@@ -1,7 +1,7 @@ |
73 |
#!/sbin/runscript |
74 |
# Copyright 1999-2008 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/proofd.initd,v 1.1 2008/12/18 18:10:18 bicatali Exp $ |
77 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/proofd.initd,v 1.2 2009/01/20 18:04:09 bicatali Exp $ |
78 |
|
79 |
depend() { |
80 |
need root-file-server |
81 |
@@ -11,8 +11,8 @@ |
82 |
start() { |
83 |
ebegin "Starting parallel ROOT facility server" |
84 |
start-stop-daemon --start --quiet \ |
85 |
- --pidfile=/var/run/proofd.pid \ |
86 |
- --exec /usr/bin/proofd -- ${PROOFD_OPTS} |
87 |
+ --pidfile /var/run/proofd.pid \ |
88 |
+ --exec /usr/bin/proofd -- ${PROOFD_OPTS} ${PROOF_DIR} |
89 |
pidof /usr/bin/proofd > /var/run/proofd.pid |
90 |
eend $? |
91 |
} |
92 |
@@ -20,7 +20,7 @@ |
93 |
stop() { |
94 |
ebegin "Stopping parallel ROOT facility server" |
95 |
start-stop-daemon --stop --quiet \ |
96 |
- --pidfile=/var/run/proofd.pid \ |
97 |
+ --pidfile /var/run/proofd.pid \ |
98 |
--exec /usr/bin/proofd |
99 |
eend $? |
100 |
} |
101 |
|
102 |
|
103 |
|
104 |
1.2 sci-physics/root/files/xrootd.initd |
105 |
|
106 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/xrootd.initd?rev=1.2&view=markup |
107 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/xrootd.initd?rev=1.2&content-type=text/plain |
108 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/files/xrootd.initd?r1=1.1&r2=1.2 |
109 |
|
110 |
Index: xrootd.initd |
111 |
=================================================================== |
112 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/files/xrootd.initd,v |
113 |
retrieving revision 1.1 |
114 |
retrieving revision 1.2 |
115 |
diff -u -r1.1 -r1.2 |
116 |
--- xrootd.initd 18 Dec 2008 18:10:18 -0000 1.1 |
117 |
+++ xrootd.initd 20 Jan 2009 18:04:09 -0000 1.2 |
118 |
@@ -1,7 +1,7 @@ |
119 |
#!/sbin/runscript |
120 |
# Copyright 1999-2008 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/xrootd.initd,v 1.1 2008/12/18 18:10:18 bicatali Exp $ |
123 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/xrootd.initd,v 1.2 2009/01/20 18:04:09 bicatali Exp $ |
124 |
|
125 |
depend() { |
126 |
need net |
127 |
@@ -11,8 +11,8 @@ |
128 |
|
129 |
start() { |
130 |
ebegin "Starting extended ROOTD file server" |
131 |
- start-stop-daemon --start --quiet --user=${XROOTD_USER} \ |
132 |
- --make-pidfile --pidfile=/var/run/xrootd.pid \ |
133 |
+ start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |
134 |
+ --make-pidfile --pidfile /var/run/xrootd.pid \ |
135 |
--exec /usr/bin/xrootd --background -- ${XROOTD_OPTS} |
136 |
eend $? |
137 |
} |
138 |
@@ -20,7 +20,7 @@ |
139 |
stop() { |
140 |
ebegin "Stopping extended ROOTD file server" |
141 |
start-stop-daemon --stop --quiet \ |
142 |
- --pidfile=/var/run/xrootd.pid \ |
143 |
+ --pidfile /var/run/xrootd.pid \ |
144 |
--exec /usr/bin/xrootd |
145 |
eend $? |
146 |
} |