Option to choose number of MySQL Instances!

This commit is contained in:
usmannasir
2018-05-29 20:20:05 +05:00
parent 04f89b92d0
commit 659f2014b4
1631 changed files with 418789 additions and 258 deletions

View File

@@ -293,11 +293,8 @@ def servicesAction(request):
return HttpResponse(final_json)
else:
if service == "lsws":
command = "sudo /usr/local/lsws/bin/lswsctrl %s" % (action)
else:
command = 'sudo systemctl %s %s' % (action, service)
command = 'sudo systemctl %s %s' % (action, service)
cmd = shlex.split(command)
res = subprocess.call(cmd)