fixed health.sh failed (#5281)

fixed health.sh failed
This commit is contained in:
lol
2024-10-14 16:44:15 +08:00
committed by GitHub
parent f53749bfc5
commit 2a7a507987

View File

@@ -1,6 +1,6 @@
#!/bin/sh
if [ -d "/home/admin/canal-server" ]; then
if [ -d "/home/admin/canal-admin" ]; then
serverPort=`perl -le 'print $ENV{"server.port"}'`
if [ -z "$serverPort" ] ; then
serverPort=8089