brew services
Manage background services with
launchctlon macOS orsystemctlon Linux. More information: https://docs.brew.sh/Manpage#services-subcommand.
- List all managed services for the current user:
brew services
- List more information about all managed services:
brew services info --all
- Start a service immediately and register it to launch at login (or boot):
brew services start
- Stop the service immediately and unregister it from launching at login (or boot):
brew services stop
- Stop (if necessary) and start the service immediately and register it to launch at login (or boot):
brew services restart
- Remove all unused services:
brew services cleanup
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
