Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 243348 | Differences between
and this patch

Collapse All | Expand All

(-)tomcat-6.old (-4 / +5 lines)
Lines 44-55 Link Here
44
start_helper() {
44
start_helper() {
45
	local executor=${1}
45
	local executor=${1}
46
	shift
46
	shift
47
	local arguments="--start --quiet \
47
	local arguments="--start --quiet --background \
48
		--chdir "${CATALINA_TMPDIR}" \
48
		--chdir "${CATALINA_TMPDIR}" \
49
		--chuid ${CATALINA_USER}:${CATALINA_GROUP} \
49
		--chuid ${CATALINA_USER}:${CATALINA_GROUP} \
50
		--make-pidfile --pidfile /var/run/tomcat-6.pid"
50
		--make-pidfile --pidfile /var/run/tomcat-6.pid \
51
	start-stop-daemon ${arguments} --exec ${executor} -- ${OPTS_CP} "$@" \
51
		--stdout ${CATALINA_BASE}/logs/catalina.out \
52
		${CATALINA_ARGS} ${TOMCAT_START} >> "${CATALINA_BASE}"/logs/catalina.out 2>&1 &
52
		--stderr ${CATALINA_BASE}/logs/catalina.out"
53
	start-stop-daemon ${arguments} --exec ${executor} -- ${OPTS_CP} "$@" ${CATALINA_ARGS} ${TOMCAT_START} 
53
	return $?
54
	return $?
54
}
55
}
55
56

Return to bug 243348