mirror of
https://github.com/optim-enterprises-bv/Mailu-OIDC.git
synced 2025-11-01 02:27:45 +00:00
Adding options for mail-letsencrypt
This commit is contained in:
@@ -7,7 +7,7 @@ import subprocess
|
||||
if os.path.exists("/var/log/nginx.pid"):
|
||||
os.remove("/var/log/nginx.pid")
|
||||
|
||||
if os.environ["TLS_FLAVOR"] == "letsencrypt":
|
||||
if os.environ["TLS_FLAVOR"] in [ "letsencrypt","mail-letsencrypt" ]:
|
||||
subprocess.Popen(["/letsencrypt.py"])
|
||||
|
||||
subprocess.call(["/config.py"])
|
||||
|
||||
Reference in New Issue
Block a user