You've already forked Mailu
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
(cherry picked from commit c4f457e7f9
)
This commit is contained in:
@@ -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():
|
||||
|
1
towncrier/newsfragments/3420.bugfix
Normal file
1
towncrier/newsfragments/3420.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
The reload functionality of nginx/dovecot upon change of the certificates failed with an error.
|
Reference in New Issue
Block a user