diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 4f4ebb7..981bead 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -731,8 +731,7 @@ def site_package_check(self, stype): if not WOAptGet.is_installed(self, 'php7.2-fpm'): apt_packages = apt_packages + WOVariables.wo_php - if self.app.pargs.php73 and - stype in ['mysql', 'wp', 'wpsubdir', 'wpsubdomain']: + if self.app.pargs.php73 and stype in ['mysql', 'wp', 'wpsubdir', 'wpsubdomain']: Log.debug(self, "Setting apt_packages variable for PHP 7.3") if not WOAptGet.is_installed(self, 'php7.3-fpm'): apt_packages = apt_packages + WOVariables.wo_php73 @@ -1243,7 +1242,7 @@ def doCleanupAction(self, domain='', webroot='', dbname='', dbuser='', raise SiteError("dbhost not provided") deleteDB(self, dbname, dbuser, dbhost) - +# setup letsencrypt for domain + www.domain def setupLetsEncrypt(self, wo_domain_name): if os.path.isfile("/etc/letsencrypt/renewal/{0}_ecc/{0}.conf" @@ -1314,7 +1313,7 @@ def setupLetsEncrypt(self, wo_domain_name): "you are running Let\'s Encrypt Client " "\n to allow it to verify the site automatically.") - +# setup letsencrypt for a subdomain def setupLetsEncryptSubdomain(self, wo_domain_name): wo_wp_email = WOVariables.wo_email @@ -1369,7 +1368,7 @@ def setupLetsEncryptSubdomain(self, wo_domain_name): "you are running Let\'s Encrypt Client " "\n to allow it to verify the site automatically.") - +# letsencrypt cert renewal def renewLetsEncrypt(self, wo_domain_name): ssl = WOShellExec.cmd_exec(