🚀 Manage background services with macOS' launchctl daemon manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mike McQuaid 13d43fbadf
Merge pull request #226 from MikeMcQuaid/plist-startup
1 day ago
.github/workflows workflows/tests: remove brew style cd. 2 weeks ago
cmd services: use colon before subcommand descriptions 1 month ago
completions Rename bash completion script 2 years ago
lib Recommend root/non-root from Formula#plist_startup 2 days ago
spec services: use colon before subcommand descriptions 1 month ago
.gitignore Tests and refactoring 4 months ago
Gemfile Make `brew services` run `brew services list`. 3 months ago
Gemfile.lock Make `brew services` run `brew services list`. 3 months ago
LICENSE.txt LICENSE: fix licence detection. 2 years ago
README.md README: remove Azure Pipelines badge. 7 months ago

README.md

Homebrew Services

Integrates Homebrew formulae with macOS’ launchctl manager.

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 (c) Homebrew maintainers. See LICENSE.txt for details.