restart cms2
This commit is contained in:
parent
941ace4cd3
commit
80f4f7cf8b
@ -67,6 +67,9 @@ if [ "$2" == "test" ]; then
|
||||
elif [ "$2" == "prod" ]; then
|
||||
echo "Deploy prod."
|
||||
deploy_server 'xiandou@localhost' $APP $JAR '4025'
|
||||
if [ "$1" == "cms" ]; then
|
||||
ssh -p 4025 xiandou@localhost '/data/program/cms2/bin/stop.sh && /data/program/cms2/bin/start.sh'
|
||||
fi
|
||||
fi
|
||||
|
||||
popd > /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user