mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-30 01:32:23 +00:00
Fix 3420 - fixed syntax errors in certwatcher.py
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