我在与主管停止无花果进程时遇到问题。
supervisorctl start web_app
成功启动网络服务器,返回状态或 RUNNING 和某个 pid。
当我跑
supervisorctl stop web_app
该进程似乎已终止,因为状态变为 STOPPED 并且 pid 变为 0,但实际的 docker 容器继续运行并且 Web 应用程序永远不会终止。
主管.conf:
[program:web_app]
command = fig --file /home/luna/docker_test/fig.yml up
stopasgroup = true
killasgroup = true
autostart = false
autorestart = true
有任何想法吗?