aboutsummaryrefslogtreecommitdiff
path: root/www/tomcat6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/tomcat6/Makefile')
-rw-r--r--www/tomcat6/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/tomcat6/Makefile b/www/tomcat6/Makefile
index 379cb52a453b..8c918e8f5339 100644
--- a/www/tomcat6/Makefile
+++ b/www/tomcat6/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..."