#!/bin/sh # # /etc/rc.d/services/tomcat.service: jakarta tomcat service file # case "$1" in start) su tomcat -c /usr/lib/tomcat/bin/startup.sh ;; stop) su tomcat -c /usr/lib/tomcat/bin/shutdown.sh ;; *) echo "usage: $0 start|stop" ;; esac # EOF