blob: 364426b5693593e5ed5ca0c09fa7e44d39356ca0 (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/tomcat: start/stop jakarta tomcat servlet container
4 #
5
6 case "$1" in
7 start)
8 /usr/lib/tomcat/bin/startup.sh
9 ;;
10 stop)
11 /usr/lib/tomcat/bin/shutdown.sh
12 ;;
13 restart)
14 /usr/lib/tomcat/bin/shutdown.sh
15 /usr/lib/tomcat/bin/startup.sh
16 ;;
17 *)
18 echo "usage: $0 start|stop|restart"
19 ;;
20 esac
21
22 # End of file
|