restart litespeed once license is refreshed
This commit is contained in:
parent
69d7aba9e2
commit
8b08c839fd
|
|
@ -454,6 +454,8 @@ def refreshLicense(request):
|
|||
command = 'sudo /usr/local/lsws/bin/lshttpd -V'
|
||||
ProcessUtilities.outputExecutioner(command)
|
||||
|
||||
installUtilities.reStartLiteSpeed()
|
||||
|
||||
final_dic = {'status': 1}
|
||||
final_json = json.dumps(final_dic)
|
||||
return HttpResponse(final_json)
|
||||
|
|
|
|||
Loading…
Reference in New Issue