Pavel Loginov 5 years ago
parent 4a78293a2a
commit d774179bda

@ -387,7 +387,7 @@ def install_haproxy(serv, **kwargs):
servers = sql.select_servers(server=serv)
for server in servers:
ssh_port = server[10]
ssh_port = str(server[10])
os.system("cp scripts/%s ." % script)
@ -482,7 +482,7 @@ def install_nginx(serv):
servers = sql.select_servers(server=serv)
for server in servers:
ssh_port = server[10]
ssh_port = str(server[10])
syn_flood_protect = '1' if form.getvalue('syn_flood') == "1" else ''

@ -779,7 +779,7 @@ if form.getvalue('masteradd'):
servers = sql.select_servers(server=master)
for server in servers:
ssh_port = server[10]
ssh_port = str(server[10])
commands = [ "chmod +x "+script +" && ./"+script +" PROXY=" + proxy_serv+
" SSH_PORT="+ssh_port+
@ -813,7 +813,7 @@ if form.getvalue('masteradd'):
servers = sql.select_servers(server=slave)
for server in servers:
ssh_port = server[10]
ssh_port = str(server[10])
commands = [ "chmod +x "+script +" && ./"+script +" PROXY=" + proxy_serv+
" SSH_PORT="+ssh_port+
@ -869,7 +869,7 @@ if form.getvalue('backup') or form.getvalue('deljob') or form.getvalue('backupup
servers = sql.select_servers(server=serv)
for server in servers:
ssh_port = server[10]
ssh_port = str(server[10])
os.system("cp scripts/%s ." % script)

Loading…
Cancel
Save