用户工具

站点工具


侧边栏

Hi,大家好,我叫尹佳冀。我是一个热爱太极的程序员!

导航

homebrew_services_usage

Homebrew Services

Requirements

Homebrew is used for installing the services.

This does not work with Linuxbrew (so don't file Linux issues, please).

Install

brew services is automatically installed when run.

Usage

Start

Start the MySQL service at login with:

brew services start mysql

Start the Dnsmasq service at boot with:

$ sudo brew services start dnsmasq

Start all available services with:

$ brew services start --all

Run

Run the MySQL service but don't start it at login (nor boot) with:

$ brew services run mysql

Stop

Stop the MySQL service with:

$ brew services stop mysql

Restart

Restart the MySQL service with:

$ brew services restart mysql

List

List all services managed by brew services with:

$ brew services list

Cleanup

Remove all unused services with:

$ brew services cleanup

Copyright © Homebrew maintainers. See LICENSE.txt for details.

homebrew_services_usage.txt · 最后更改: 2018/04/05 07:06 由 jiaji