admin管理员组文章数量:1130349
Usage: brew services subcommand:
Manage background services with macOS’ launchctl(1) daemon manager
--all run subcommand on all services.
[sudo] brew services list
List all running services for the current user (or root).
[sudo] brew services run (formula|–all)
Run the service formula without registering to launch at login (or boot).
[sudo] brew services start (formula|–all)
Start the service formula immediately and register it to launch at login (or
boot).
[sudo] brew services stop (formula|–all)
Stop the service formula immediately and unregister it from launching at login
(or boot).
[sudo] brew services restart (formula|–all)
Stop (if necessary) and start the service formula immediately and register it
to launch at login (or boot).
[sudo] brew services cleanup
Remove all unused services.
If sudo is passed, operate on /Library/LaunchDaemons (started at boot).
Otherwise, operate on ~/Library/LaunchAgents (started at login).
Usage: brew services subcommand:
Manage background services with macOS’ launchctl(1) daemon manager
--all run subcommand on all services.
[sudo] brew services list
List all running services for the current user (or root).
[sudo] brew services run (formula|–all)
Run the service formula without registering to launch at login (or boot).
[sudo] brew services start (formula|–all)
Start the service formula immediately and register it to launch at login (or
boot).
[sudo] brew services stop (formula|–all)
Stop the service formula immediately and unregister it from launching at login
(or boot).
[sudo] brew services restart (formula|–all)
Stop (if necessary) and start the service formula immediately and register it
to launch at login (or boot).
[sudo] brew services cleanup
Remove all unused services.
If sudo is passed, operate on /Library/LaunchDaemons (started at boot).
Otherwise, operate on ~/Library/LaunchAgents (started at login).
版权声明:本文标题:homebrew service命令 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1754580487a2703991.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论