yihong0618 和朋友们的频道 头像

消息来源频道

yihong0618 和朋友们的频道

@hyi0618

频道8,612 位成员公开可见0 人在线

yihong0618 和朋友们的频道

成员规模8,612 位成员
在线情况0 人在线
消息总数10,129 条消息
浏览量总数3,276,841 次浏览

在这个频道里搜索消息……

t.me/hyi0618

TIL:
Link: https://github.com/jbranchaud/til/blob/master/brew/list-all-services-managed-by-brew.md
📌 List All Services Managed By Brew
Daemonized services, such as PostgreSQL, can be installed and managed with
Homebrew. Under the hood brew uses launchctl on Mac to manage these
services — i.e. starting, restarting, and stopping them.
Assuming you've already installed some services, you can run brew services list to see what services there are and what their current status is.
$ brew services list
Name Status User File
mailhog none
mysql none
postgresql@11 started jbranchaud ~/Library/LaunchAgents/[email protected]
postgresql@13 none
postgresql@16 none
unbound none
This is the default behavior if you just run brew services without a subcommand.
This is helpful if you are, for instance, trying to see which PostgreSQL server
version you are currently running and which other ones are available to run. I
might then issue a stop to postgresql@11 so that I can then start the
postgresql@16 service.
See brew services --help for more details.