diff options
Diffstat (limited to 'www/tomcat41/files/jakarta-tomcat.sh')
-rw-r--r-- | www/tomcat41/files/jakarta-tomcat.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/www/tomcat41/files/jakarta-tomcat.sh b/www/tomcat41/files/jakarta-tomcat.sh deleted file mode 100644 index b27dea9f7de5..000000000000 --- a/www/tomcat41/files/jakarta-tomcat.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# %%APP_TITLE%% startup script. -# -# $FreeBSD$ -# - - -# Set some variables -MYSELF=`basename $0` - -case "$1" in - start) - truncate -s 0 %%PID_FILE%% - chown %%USER%%:%%GROUP%% %%PID_FILE%% - chmod 600 %%PID_FILE%% - su -f -m %%USER%% -c "exec %%CONTROL_SCRIPT%% start > /dev/null" && echo -n ' %%APP_SHORTNAME%%' - ;; - stop) - chown %%USER%%:%%GROUP%% %%PID_FILE%% - chmod 600 %%PID_FILE%% - su -f -m %%USER%% -c "exec %%CONTROL_SCRIPT%% stop > /dev/null" && echo -n ' %%APP_SHORTNAME%%' - ;; - *) - echo "" - echo "Usage: ${MYSELF} { start | stop }" - echo "" - exit 64 - ;; -esac |