mirror of
https://github.com/optim-enterprises-bv/Mailu-OIDC.git
synced 2025-11-02 19:17:57 +00:00
Deal with certwatcher too
This commit is contained in:
@@ -27,6 +27,9 @@ class ChangeHandler(FileSystemEventHandler):
|
|||||||
if exists("/var/run/nginx.pid"):
|
if exists("/var/run/nginx.pid"):
|
||||||
print("Reloading a running nginx")
|
print("Reloading a running nginx")
|
||||||
system("nginx -s reload")
|
system("nginx -s reload")
|
||||||
|
if os.path.exists("/run/dovecot/master.pid"):
|
||||||
|
print("Reloading a running dovecot")
|
||||||
|
os.system("doveadm reload")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def reexec_config():
|
def reexec_config():
|
||||||
|
|||||||
Reference in New Issue
Block a user