centralized execution ph3

This commit is contained in:
usmannasir
2019-03-30 14:21:52 +05:00
parent 34410360c7
commit 40b6093d3e
27 changed files with 766 additions and 457 deletions

View File

@@ -231,12 +231,8 @@ class sslUtilities:
try:
acmePath = '/root/.acme.sh/acme.sh'
if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
acmePath = '/home/cyberpanel/.acme.sh/acme.sh'
if not os.path.exists(acmePath):
command = 'wget -O - https://get.acme.sh | sh'
subprocess.call(command, shell=True)
# if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
# acmePath = '/home/cyberpanel/.acme.sh/acme.sh'
if aliasDomain == None: