mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 12:35:24 +02:00
brew-services: add page (#16057)
* brew-services: add page * Update brew-services.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update brew-services.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
9853e22063
commit
8d1d2c5313
1 changed files with 28 additions and 0 deletions
28
pages/common/brew-services.md
Normal file
28
pages/common/brew-services.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# brew services
|
||||
|
||||
> Manage background services with `launchctl` on macOS or `systemctl` on 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 {{formula}}`
|
||||
|
||||
- Stop the service immediately and unregister it from launching at login (or boot):
|
||||
|
||||
`brew services stop {{formula}}`
|
||||
|
||||
- Stop (if necessary) and start the service immediately and register it to launch at login (or boot):
|
||||
|
||||
`brew services restart {{formula}}`
|
||||
|
||||
- Remove all unused services:
|
||||
|
||||
`brew services cleanup`
|
Loading…
Add table
Reference in a new issue