mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-02 02:57:56 +00:00
Deal with certwatcher too
This commit is contained in:
@@ -27,6 +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"):
|
||||
print("Reloading a running dovecot")
|
||||
os.system("doveadm reload")
|
||||
|
||||
@staticmethod
|
||||
def reexec_config():
|
||||
|
||||
Reference in New Issue
Block a user