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

Deal with certwatcher too

This commit is contained in:
Florent Daigniere
2023-04-27 09:26:24 +02:00
parent 1d0c4e67aa
commit 88f7ab48f7

View File

@@ -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():