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

(-)/usr/share/tomcat-6/gentoo/tomcat.init (+8 lines)
Lines 53-63 Link Here
53
		-Djava.util.logging.config.file=${CATALINA_BASE}/conf/logging.properties"
53
		-Djava.util.logging.config.file=${CATALINA_BASE}/conf/logging.properties"
54
	fi
54
	fi
55
55
56
	if [ -z "$CATALINA_OUT" ] ; then
57
		CATALINA_OUT=/var/log/${RC_SVCNAME}/catalina.out
58
	fi
59
	touch "$CATALINA_OUT"
60
	chown ${CATALINA_USER}:${CATALINA_GROUP} "$CATALINA_OUT"
61
56
	start-stop-daemon  --start \
62
	start-stop-daemon  --start \
57
		--quiet --background \
63
		--quiet --background \
58
		--chdir "${CATALINA_TMPDIR}" \
64
		--chdir "${CATALINA_TMPDIR}" \
59
		--user ${CATALINA_USER}:${CATALINA_GROUP} \
65
		--user ${CATALINA_USER}:${CATALINA_GROUP} \
60
		--make-pidfile --pidfile ${PIDFILE} \
66
		--make-pidfile --pidfile ${PIDFILE} \
67
		-1 "$CATALINA_OUT" \
68
		-2 "$CATALINA_OUT" \
61
		--exec ${JAVA_HOME}/bin/${cmd} \
69
		--exec ${JAVA_HOME}/bin/${cmd} \
62
		-- \
70
		-- \
63
			${JAVA_OPTS} \
71
			${JAVA_OPTS} \

Return to bug 451140