Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
if [ "$1" = "quartzPro5" ]; then
|
||||
echo "stop quartzPro5......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/quartzPro5/shutdown.sh
|
||||
elif [ "$1" = "ifish6" ]; then
|
||||
echo "stop ifish6......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish6/shutdown.sh
|
||||
elif [ "$1" = "ifish7" ]; then
|
||||
echo "stop ifish7......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish7/shutdown.sh
|
||||
elif [ "$1" = "ifishSystem8" ]; then
|
||||
echo "stop ifishSystem8......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSystem8/shutdown.sh
|
||||
elif [ "$1" = "ifishSocket9" ]; then
|
||||
echo "stop ifishSocket9......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSocket9/shutdown.sh
|
||||
else
|
||||
echo "parameter error"
|
||||
fi
|
||||
@@ -0,0 +1,28 @@
|
||||
if [ "$1" = "quartzPro5" ]; then
|
||||
echo "rmove quartzPro5 war package......"
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/quartzPro5/webapps/quartzPro.war
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/quartzPro5/app/*
|
||||
cp ../package/quartzPro.war /usr/local/apache-tomcat-7.0.64/tomcat-instance/quartzPro5/webapps/
|
||||
elif [ "$1" = "ifish6" ]; then
|
||||
echo "rmove ifish6 war package......"
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish6/webapps/ifish.war
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish6/app/*
|
||||
cp ../package/ifish.war /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish6/webapps/
|
||||
elif [ "$1" = "ifish7" ]; then
|
||||
echo "rmove ifish7 war package......"
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish7/webapps/ifish.war
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish7/app/*
|
||||
cp ../package/ifish.war /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish7/webapps/
|
||||
elif [ "$1" = "ifishSystem8" ]; then
|
||||
echo "rmove ifishSystem8 war package......"
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSystem8/webapps/ifishSystem.war
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSystem8/app/*
|
||||
cp ../package/ifishSystem.war /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSystem8/webapps/
|
||||
elif [ "$1" = "ifishSocket9" ]; then
|
||||
echo "rmove ifishSocket9 war package......"
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSocket9/webapps/ifishSocket.war
|
||||
rm -rf /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSocket9/app/*
|
||||
cp ../package/ifishSocket.war /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSocket9/webapps/
|
||||
else
|
||||
echo "parameter error"
|
||||
fi
|
||||
@@ -0,0 +1,18 @@
|
||||
if [ "$1" = "quartzPro5" ]; then
|
||||
echo "quartzPro5 publish......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/quartzPro5/startup.sh
|
||||
elif [ "$1" = "ifish6" ]; then
|
||||
echo "ifish6 publish......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish6/startup.sh
|
||||
elif [ "$1" = "ifish7" ]; then
|
||||
echo "ifish7 publish......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish7/startup.sh
|
||||
elif [ "$1" = "ifishSystem8" ]; then
|
||||
echo "ifishSystem8 publish......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSystem8/startup.sh
|
||||
elif [ "$1" = "ifishSocket9" ]; then
|
||||
echo "ifishSocket9 publish......"
|
||||
sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSocket9/startup.sh
|
||||
else
|
||||
echo "parameter error"
|
||||
fi
|
||||
Reference in New Issue
Block a user