Compare commits

..

2 Commits

Author SHA1 Message Date
paulch 432d5e3130 test 2024-06-19 17:59:03 +08:00
yuzchen a52a7917a7 Update scripts/deploy.sh 2024-06-19 17:41:10 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ echo "执行"
# cd /opt/webapps/
# 目标服务器后台方式启动jar包
#nohup /usr/local/jdk-17.0.9/bin/java -jar /opt/webapps/demo4bonus-0.0.1-SNAPSHOT.jar >/dev/null 2>&1 &
nohup /usr/local/jdk-17.0.9/bin/java -jar /opt/webapps/demo4bonus-0.0.1-SNAPSHOT.jar >/opt/webapps/logs/demo4bonus/info.log 2>&1 &
nohup java -jar /opt/webapps/demo4bonus-0.0.1-SNAPSHOT.jar >/opt/webapps/logs/demo4bonus/info.log 2>&1 &
echo "启动成功"

View File

@ -24,7 +24,7 @@ public class GreetingController {
@GetMapping("/health")
public String healthcheck() {
logger.info("Server status is OK");
return "OKOKOK";
return "OKOKOKOK";
}