What is the meaning yellow service “started” status on Homebrew?

前端 未结 6 2010
抹茶落季
抹茶落季 2020-12-29 00:46

When I tried brew services list command, dnsmasq, nginx status started but yellow. php71 and mysql is started and green.

Previously when my Mysql statu

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-29 01:45

    If your configuration can make the service run as either daemon or non-daemon, do not make it daemon.

    I found the yellow status when I configured daemon in haproxy.cfg. After I removed daemon in the configuration and restarted it (including killing the process, as brew does not really know which process to stop in the daemon mode of haproxy), HAProxy showed the bright green ‘started’ status. And I can now really stop it with brew services stop. :-)

提交回复
热议问题