1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Fix 3420 - fixed syntax errors in certwatcher.py

This commit is contained in:
Dimitri Huisman
2024-09-09 13:01:12 +00:00
parent ce02f19110
commit c4f457e7f9
2 changed files with 3 additions and 2 deletions

View File

@@ -27,9 +27,9 @@ class ChangeHandler(FileSystemEventHandler):
if exists("/var/run/nginx.pid"):
print("Reloading a running nginx")
system("nginx -s reload")
if os.path.exists("/run/dovecot/master.pid"):
if exists("/run/dovecot/master.pid"):
print("Reloading a running dovecot")
os.system("doveadm reload")
system("doveadm reload")
@staticmethod
def reexec_config():

View File

@@ -0,0 +1 @@
The reload functionality of nginx/dovecot upon change of the certificates failed with an error.