mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-18 03:01:01 +01:00
allow ElasticRearch remove
This commit is contained in:
@@ -351,6 +351,8 @@ def removeInstall(request):
|
||||
if appName == 'Elastic Search':
|
||||
if status == 'Installing':
|
||||
command = '/usr/local/CyberCP/bin/python /usr/local/CyberCP/manageServices/serviceManager.py --function InstallElasticSearch'
|
||||
else:
|
||||
command = '/usr/local/CyberCP/bin/python /usr/local/CyberCP/manageServices/serviceManager.py --function RemoveElasticSearch'
|
||||
|
||||
ProcessUtilities.popenExecutioner(command)
|
||||
data_ret = {'status': 1}
|
||||
|
||||
Reference in New Issue
Block a user