mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
convert to lsws ent via cli
This commit is contained in:
@@ -1582,6 +1582,18 @@ def main():
|
||||
wm = WebsiteManager()
|
||||
wm.installJoomla(1, data)
|
||||
|
||||
elif args.function == "switchTOLSWS":
|
||||
|
||||
completeCommandExample = 'cyberpanel switchTOLSWS --licenseKey <Your lsws key here or you can enter TRIAL)'
|
||||
|
||||
if not args.licenseKey:
|
||||
print("\n\nPlease enter LiteSpeed License key. For example:\n\n" + completeCommandExample + "\n\n")
|
||||
return
|
||||
|
||||
from serverStatus.serverStatusUtil import ServerStatusUtil
|
||||
|
||||
ServerStatusUtil.switchTOLSWSCLI(args.licenseKey)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user