mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Deal with certwatcher too
This commit is contained in:
parent
1d0c4e67aa
commit
88f7ab48f7
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user