mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
[FIX] check forward.conf,make sure the installation for lb . closed #30
This commit is contained in:
parent
a76b5a6e27
commit
c5abfe7f7a
@ -717,6 +717,12 @@ server {
|
||||
}
|
||||
EOF
|
||||
|
||||
[ -f "/etc/goodrain/openresty/servers/http/forward.conf" ] && (
|
||||
log.info "forward exist"
|
||||
) || (
|
||||
log.error "forward not found"
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
function install_lb() {
|
||||
@ -747,9 +753,10 @@ services:
|
||||
restart: always
|
||||
EOF
|
||||
|
||||
dc-compose up -d rbd-lb
|
||||
dc-compose stop
|
||||
lb_add_forward
|
||||
|
||||
dc-compose up -d rbd-lb
|
||||
dc-compose start rbd-lb
|
||||
}
|
||||
|
||||
function install_eventlog() {
|
||||
|
Loading…
Reference in New Issue
Block a user