mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
1c5e60f690
- Remove spring-cloud-starter-zookeeper-discovery from POM (V1 doesn't have it, causes zookeeperRibbonClientConfiguration error) - Remove ZK exclusions from AppApplication.java (no longer needed) - bootstrap.properties now 100% identical to V1 production - PersonFeignClient restored to placeholder-based name (no hardcoded URL) - Remove NIWSServerListClassName/listOfServers (ConfigurationBasedServerList) Bump version to 2.0.17
10 lines
372 B
Bash
Executable File
10 lines
372 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# 停止与本目录 cw-elevator-application-V1.0.0.20211103.jar 对应的 Java 进程(仅匹配命令行中含该 JAR 名的进程)。
|
|
set -euo pipefail
|
|
JAR="cw-elevator-application-V1.0.0.20211103.jar"
|
|
# shellcheck disable=SC2009
|
|
pid=$(ps -ef | grep '[j]ava' | grep "$JAR" | awk '{print $2}' || true)
|
|
if [[ -n "${pid}" ]]; then
|
|
kill -9 $pid
|
|
fi
|