mirror of https://github.com/Aidaho12/haproxy-wi
parent
c0b78d32f0
commit
c0212e23d3
|
@ -685,7 +685,7 @@ def update_haproxy_wi(service):
|
||||||
service = service.split('_')[0]
|
service = service.split('_')[0]
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
service = 'roxy-wi-'+service
|
# service = 'roxy-wi-'+service
|
||||||
cmd = 'sudo -S yum -y update ' + service +' && sudo systemctl restart ' + service
|
cmd = 'sudo -S yum -y update ' + service +' && sudo systemctl restart ' + service
|
||||||
output, stderr = subprocess_execute(cmd)
|
output, stderr = subprocess_execute(cmd)
|
||||||
print(output)
|
print(output)
|
||||||
|
|
Loading…
Reference in New Issue