mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove the deletion of let's encrypt lib and log folders after the job is finished
This commit is contained in:
parent
95c9bad8e3
commit
1c362d0783
2 changed files with 0 additions and 8 deletions
|
|
@ -197,10 +197,6 @@ try:
|
|||
logger.error(f"Error while saving Let's Encrypt data to db cache : {err}")
|
||||
else:
|
||||
logger.info("Successfully saved Let's Encrypt data to db cache")
|
||||
|
||||
# Delete lib and log folders to avoid sending them
|
||||
rmtree(str(letsencrypt_path.joinpath("lib")), ignore_errors=True)
|
||||
rmtree(str(letsencrypt_path.joinpath("log")), ignore_errors=True)
|
||||
except:
|
||||
status = 3
|
||||
logger.error(f"Exception while running certbot-new.py :\n{format_exc()}")
|
||||
|
|
|
|||
|
|
@ -149,10 +149,6 @@ try:
|
|||
logger.error(f"Error while saving Let's Encrypt data to db cache : {err}")
|
||||
else:
|
||||
logger.info("Successfully saved Let's Encrypt data to db cache")
|
||||
|
||||
# Delete lib and log folders to avoid sending them
|
||||
rmtree(str(letsencrypt_path.joinpath("lib")), ignore_errors=True)
|
||||
rmtree(str(letsencrypt_path.joinpath("log")), ignore_errors=True)
|
||||
except:
|
||||
status = 2
|
||||
logger.error(f"Exception while running certbot-renew.py :\n{format_exc()}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue