Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
saysky committed Oct 19, 2019
1 parent 3b3ee2a commit c0f5a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/sens.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ start(){
if [ $? -eq "0" ]; then
echo "${APP_NAME} 正在运行。 pid=${pid} ."
else
nohup java -server -Xms1024m -Xmx1024m -Xmn340m -Xloggc:/www/wwwroot/sens-gc.log -jar $APP_NAME > /dev/null 2>&1 &
nohup java -server -Xms1024m -Xmx1024m -Xmn340m -Xloggc:/www/wwwroot/sens-gc.log -jar $APP_NAME --server.port=80 > /dev/null 2>&1 &

echo "${APP_NAME}启动成功,请查看日志确保运行正常。"
fi
}
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ echo "代码打包完毕!"
cd $SENS_DIR/target

# 运行SENS
sh sens.sh start
sh $SENS_DIR/bin/sens.sh start

echo "SENS部署完毕,Enjoy!"

0 comments on commit c0f5a78

Please sign in to comment.