aboutsummaryrefslogtreecommitdiffstats
path: root/www/tomcat7
diff options
context:
space:
mode:
Diffstat (limited to 'www/tomcat7')
-rw-r--r--www/tomcat7/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/tomcat7/Makefile b/www/tomcat7/Makefile
index 379cb52a453..8c918e8f533 100644
--- a/www/tomcat7/Makefile
+++ b/www/tomcat7/Makefile
@@ -157,6 +157,9 @@ do-install:
-e "/%%JAR_ARGS%%/s//\"start\",/g" \
${WRKDIR}/daemonctl.c > ${WRKDIR}/daemonctl_.c
@cd ${WRKDIR} && ${CC} -ansi -o ${CONTROL_SCRIPT_NAME} daemonctl_.c
+ @${CP} ${WRKDIR}/${CONTROL_SCRIPT_NAME} ${CONTROL_SCRIPT}
+ @${CHOWN} ${USER}:${GROUP} ${CONTROL_SCRIPT}
+ @${CHMOD} 6754 ${CONTROL_SCRIPT}
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing startup script..."