Compare commits

..

No commits in common. "main" and "firstDemo" have entirely different histories.

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 java -jar /opt/webapps/demo4bonus-0.0.1-SNAPSHOT.jar >/opt/webapps/logs/demo4bonus/info.log 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 &
echo "启动成功"

View File

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