黄色服务“已启动"的含义是什么?在自制软件上的状态? [英] What is the meaning yellow service "started" status on Homebrew?

查看:212
本文介绍了黄色服务“已启动"的含义是什么?在自制软件上的状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用brew services list命令时,dnsmasq,nginx状态开始但呈黄色. php71和mysql已启动且呈绿色.

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

以前,当Mysql状态开始但黄色Mysql不起作用时.

Previously when my Mysql status started but yellow Mysql doesnt work.

现在我的nginx和dnsmasq状态开始并且发黄,但是一切正常.

Now my nginx and dnsmasq status started and yellow but everthing works fine.

开始是什么意思,但是黄色为书面状态?一切正常还是?

What is the meaning started but yellow written status? Everything ok or?

推荐答案

不幸的是,黄色表示状态为unknown.想知道为什么它说开始了.

Unfortunately the yellow color means status unknown. Wonder why it says started though.

我刚刚发现是因为OS X 10.11.6上的Apache 2.2的状态也是黄色.不知道它是否真的正常工作.

I just found out because the status for apache 2.2 on OS X 10.11.6 is yellow as well. Don't know if it's actually working properly.

这是自制软件ServicesCli代码所说的

Here's what the homebrew-services ServicesCli code says

#用于向后兼容,以黄色开始显示未知状态

# For backwards-compatability showing unknown state as started in yellow colour

https://github.com/Homebrew/homebrew-services/blob/6e7ea0cff515df8b5d53a6e3066e16cf5e94d03a/lib/services_cli.rb#L147:L159

更新代码参考.谢谢@SidOfc

EDITS: Update code reference. Thanks @SidOfc

这篇关于黄色服务“已启动"的含义是什么?在自制软件上的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆