1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-15 00:05:11 +02:00

Adding options for mail-letsencrypt

This commit is contained in:
SunMar
2017-12-05 00:21:58 +01:00
parent 34d88144b2
commit 6ec0fe7036
5 changed files with 37 additions and 8 deletions

View File

@ -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"])