未验证 提交 40931e78 编写于 作者: R Roman Donchenko 提交者: GitHub

Fix slow shutdown for the Grafana container (#5746)

The root process of the container is `/bin/sh`, which ignores the
initial `SIGTERM` that Docker sends. So Docker has to wait 10 seconds
and then kill everything with `SIGKILL`.

Make Grafana itself the root process instead. Grafana handles the
`SIGTERM` and shuts down quickly.
上级 4fc494f4
......@@ -319,7 +319,7 @@ services:
path: /var/lib/grafana/dashboards
foldersFromFilesStructure: true
EOF
/run.sh
exec /run.sh
networks:
cvat:
aliases:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册