haishanh / yacd

Yet Another Clash Dashboard
http://yacd.haishan.me
MIT License
4.07k stars 724 forks source link

Make nginx to be process 1 to accept SIGTERM signal #746

Closed xuewenG closed 1 year ago

xuewenG commented 1 year ago

目前的脚本没有让 nginx 作为 1 号进程运行,nginx 无法收到 docker stop 发出的 SIGTERM 信号。关闭容器时,需要等待 10 秒左右,容器才能被强制关闭。修改后,容器可以在发出 docker stop 命令后立即退出。

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
yacd ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 26, 2023 at 6:40PM (UTC)
haishanh commented 1 year ago

Thanks!