pull/42/head
Aidaho12 6 years ago
parent f0cb22f8e9
commit 5c5b21a56a

@ -402,7 +402,7 @@ def open_port_firewalld(cfg):
def check_haproxy_config(serv): def check_haproxy_config(serv):
import sql import sql
commands = [ "/sbin/haproxy -q -c -f %s" % sql.get_setting('haproxy_config_path') ] commands = [ "haproxy -q -c -f %s" % sql.get_setting('haproxy_config_path') ]
ssh = ssh_connect(serv) ssh = ssh_connect(serv)
for command in commands: for command in commands:
stdin , stdout, stderr = ssh.exec_command(command) stdin , stdout, stderr = ssh.exec_command(command)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 KiB

After

Width:  |  Height:  |  Size: 583 KiB

Loading…
Cancel
Save