mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-01 18:47:52 +00:00
Make sure stale pid files are dealt with, fix #341
This commit is contained in:
@@ -30,4 +30,5 @@ if args["TLS"] and not all(os.path.exists(file_path) for file_path in args["TLS"
|
||||
# Build final configuration paths
|
||||
convert("/conf/tls.conf", "/etc/nginx/tls.conf", args)
|
||||
convert("/conf/nginx.conf", "/etc/nginx/nginx.conf", args)
|
||||
os.system("nginx -s reload")
|
||||
if os.path.exists("/var/log/nginx.pid"):
|
||||
os.system("nginx -s reload")
|
||||
|
||||
Reference in New Issue
Block a user