Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 222865
Collapse All | Expand All

(-)www-servers/resin/files/3.1.6/resin.init (-1 / +6 lines)
Lines 22-28 Link Here
22
	local msg="${1}"
22
	local msg="${1}"
23
	shift
23
	shift
24
24
25
	local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar -conf /etc/resin/resin.conf -resin-home /usr/lib/resin ${extraArgs} ${@}"
25
	local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar \
26
		-conf /etc/resin/resin.conf \
27
		-resin-home /usr/lib/resin \
28
		-root-directory /var/lib/resin \
29
		-log-directory /var/log/resin \
30
		${extraArgs} ${@}"
26
31
27
	ebegin "${msg}"
32
	ebegin "${msg}"
28
	su - resin -c "${cmdline}"
33
	su - resin -c "${cmdline}"
(-)www-servers/resin/resin-3.1.6.ebuild (-3 / +1 lines)
Lines 50-55 Link Here
50
	java-ant_bsfix_one "${S}/build.xml"
50
	java-ant_bsfix_one "${S}/build.xml"
51
51
52
	sed -i -e 's/256m/384m/' "${S}/build.xml"
52
	sed -i -e 's/256m/384m/' "${S}/build.xml"
53
	sed -i -e 's/logs\/access\.log/\/var\/log\/resin\/access\.log/' "${S}/conf/resin.conf"
53
54
54
	cd "${S}"
55
	cd "${S}"
55
	eautoreconf
56
	eautoreconf
Lines 110-118 Link Here
110
	keepdir /var/log/resin
111
	keepdir /var/log/resin
111
	keepdir /var/run/resin
112
	keepdir /var/run/resin
112
113
113
	dosym /var/log/resin ${RESIN_HOME}/logs
114
	dosym /var/log/resin ${RESIN_HOME}/log
115
116
	dodoc README "${S}"/conf/*.conf
114
	dodoc README "${S}"/conf/*.conf
117
115
118
	newinitd "${FILESDIR}/${PV}/resin.init" resin
116
	newinitd "${FILESDIR}/${PV}/resin.init" resin

Return to bug 222865