Gentoo Archives: gentoo-commits

From: "Krzysiek Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/resin/files/3.2.1: resin.init
Date: Fri, 01 May 2009 22:40:18
Message-Id: E1M01Oy-0002ZQ-Us@stork.gentoo.org
1 nelchael 09/05/01 22:40:16
2
3 Modified: resin.init
4 Log:
5 Fix installation of resin.xml, drop old versions.
6 (Portage version: 2.1.6.11/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 www-servers/resin/files/3.2.1/resin.init
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.2.1/resin.init?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.2.1/resin.init?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.2.1/resin.init?r1=1.1&r2=1.2
14
15 Index: resin.init
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.2.1/resin.init,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- resin.init 2 Feb 2009 23:31:58 -0000 1.1
22 +++ resin.init 1 May 2009 22:40:16 -0000 1.2
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2004 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.2.1/resin.init,v 1.1 2009/02/02 23:31:58 nelchael Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.2.1/resin.init,v 1.2 2009/05/01 22:40:16 nelchael Exp $
29
30 depend() {
31 need net
32 @@ -22,7 +22,7 @@
33 local msg="${1}"
34 shift
35
36 - local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar -conf /etc/resin/resin.conf -resin-home __RESIN_HOME__ -root-directory __RESIN_HOME__ ${extraArgs} ${@}"
37 + local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar -conf /etc/resin/resin.xml -resin-home __RESIN_HOME__ -root-directory __RESIN_HOME__ ${extraArgs} ${@}"
38
39 ebegin "${msg}"
40 su - resin -c "${cmdline}"