Fix virtualenv configuration
This commit is contained in:
@@ -444,7 +444,10 @@ class WOSiteDeleteController(CementBaseController):
|
||||
# TODO Delete nginx conf
|
||||
removeNginxConf(self, wo_domain)
|
||||
deleteSiteInfo(self, wo_domain)
|
||||
WOAcme.removeconf(self, wo_domain)
|
||||
# To improve
|
||||
if not WOFileUtils.grepcheck(
|
||||
self, '/var/www/22222/conf/nginx/ssl.conf', wo_domain):
|
||||
WOAcme.removeconf(self, wo_domain)
|
||||
Log.info(self, "Deleted site {0}".format(wo_domain))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user