#!/bin/sh
case "$1" in
start)
/usr/local/tomcat/bin/catalina.sh start
/usr/local/tomcat1/bin/catalina.sh start
/usr/local/tomcat2/bin/catalina.sh start
echo "tomcat started"
;;
stop)
/usr/local/tomcat/bin/catalina.sh stop
/usr/local/tomcat1/bin/catalina.sh stop
/usr/local/tomcat2/bin/catalina.sh stop
echo "tomcat stoped"
;;
*)
echo "Usage: $0 {start|stop|}"
exit 1
;;
esac
여러개 설치된 tomcat 동시 start/stop 스크립트
|
2010.11.12 10:12:03
|
2010.11.12 10:12:03
|
344
|
Aiden
Total of Attached file
0.00 Bytes of 0 files
2011.02.23
2011.01.27
2010.12.29
2010.12.29
2010.11.12
2010.11.12
2010.11.11
2010.11.11
2010.03.08
2009.10.15