更新 scripts/haproxy.sh
This commit is contained in:
parent
e8d11572f0
commit
6cf96af110
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue