You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-17 01:32:29 +02:00
Ensure that nginx and dovecot are reloaded
This commit is contained in:
@ -53,9 +53,6 @@ if args["TLS"] and not all(os.path.exists(file_path) for file_path in args["TLS"
|
|||||||
conf.jinja("/conf/tls.conf", args, "/etc/nginx/tls.conf")
|
conf.jinja("/conf/tls.conf", args, "/etc/nginx/tls.conf")
|
||||||
conf.jinja("/conf/proxy.conf", args, "/etc/nginx/proxy.conf")
|
conf.jinja("/conf/proxy.conf", args, "/etc/nginx/proxy.conf")
|
||||||
conf.jinja("/conf/nginx.conf", args, "/etc/nginx/nginx.conf")
|
conf.jinja("/conf/nginx.conf", args, "/etc/nginx/nginx.conf")
|
||||||
if os.path.exists("/var/run/nginx.pid"):
|
|
||||||
os.system("nginx -s reload")
|
|
||||||
conf.jinja("/dovecot_conf/login.lua", args, "/etc/dovecot/login.lua")
|
conf.jinja("/dovecot_conf/login.lua", args, "/etc/dovecot/login.lua")
|
||||||
conf.jinja("/dovecot_conf/proxy.conf", args, "/etc/dovecot/proxy.conf")
|
conf.jinja("/dovecot_conf/proxy.conf", args, "/etc/dovecot/proxy.conf")
|
||||||
if os.path.exists("/run/dovecot/master.pid"):
|
os.system("killall -HUP nginx dovecot")
|
||||||
os.system("doveadm reload")
|
|
||||||
|
1
towncrier/newsfragments/3179.bugfix
Normal file
1
towncrier/newsfragments/3179.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Ensure that nginx and dovecot are reloaded
|
Reference in New Issue
Block a user