mirror of https://github.com/Aidaho12/haproxy-wi
v3.2.1
parent
f0cb22f8e9
commit
5c5b21a56a
|
@ -402,7 +402,7 @@ def open_port_firewalld(cfg):
|
|||
|
||||
def check_haproxy_config(serv):
|
||||
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)
|
||||
for command in commands:
|
||||
stdin , stdout, stderr = ssh.exec_command(command)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 504 KiB After Width: | Height: | Size: 583 KiB |
Loading…
Reference in New Issue