diff options
Diffstat (limited to 'www/jakarta-tomcat4')
-rw-r--r-- | www/jakarta-tomcat4/pkg-deinstall | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/jakarta-tomcat4/pkg-deinstall b/www/jakarta-tomcat4/pkg-deinstall new file mode 100644 index 000000000000..3a3071532612 --- /dev/null +++ b/www/jakarta-tomcat4/pkg-deinstall @@ -0,0 +1,8 @@ +#!/bin/sh +PID_FILE=/var/run/jakarta-tomcat.pid +if [ -e ${PID_FILE} ]; then + echo -n "Jakarta Tomcat is still running." + /bin/kill `cat ${PID_FILE}` + rm -f ${PID_FILE} + echo " Stopped." +fi |