更新 scripts/haproxy.sh

This commit is contained in:
joy 2025-10-29 20:07:05 +08:00
parent e8d11572f0
commit 6cf96af110
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,8 @@ EOF
systemctl restart rsyslog >/dev/null
# 启动服务
systemctl enable --now haproxy
systemctl enable haproxy
systemctl start haproxy
if systemctl is-active --quiet haproxy; then
echo "===== haproxy安装完成 ====="
echo "监听:*:$HAPROXY_PORT"