From 6cf96af11020b9bb5715e927bd4877f305353f7f Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 29 Oct 2025 20:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20scripts/haproxy.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/haproxy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/haproxy.sh b/scripts/haproxy.sh index 7dd55c9..2991684 100644 --- a/scripts/haproxy.sh +++ b/scripts/haproxy.sh @@ -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"