mirror of https://github.com/Aidaho12/haproxy-wi
parent
d3dc41715e
commit
30db59229e
|
@ -1084,5 +1084,3 @@ def check_group(group, role_id):
|
||||||
def check_service(serv, service_name):
|
def check_service(serv, service_name):
|
||||||
commands = [ "systemctl status "+service_name+" |grep Active |awk '{print $1}'" ]
|
commands = [ "systemctl status "+service_name+" |grep Active |awk '{print $1}'" ]
|
||||||
return ssh_command(serv, commands)
|
return ssh_command(serv, commands)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue