Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 1.39 KB

File metadata and controls

70 lines (50 loc) · 1.39 KB

brewservice - easily start and stop services installed by homebrew

If you have a whole bunch of services, it's probably not a good idea to have them all start automatically when you boot your machine. This tool parses your /usr/local/Cellar/ directory to find all of the homebrew.*.*.plist files and lets you turn them on and off without typing out the tedious launchctl commands every time.

Installation

If you have go...

$ go get github.com/jraede/brewservice

Otherwise you can download the compiled binary...

$ curl -O https://raw.githubusercontent.com/jraede/brewservice/master/brewservice
$ sudo mv brewservice /usr/local/bin/brewservice
$ sudo chmod +x /usr/local/bin/brewservice

Commands

Help

$ brewservice --help

View available commands.

Update

$ brewservice update

Parse the directory for homebrew.*.*.plist files and save them to a cached file for easy access. You should run this whenever you run brew install or brew update.

List

$ brewservice list

List available services

Status

$ brewservice status

Show on/off status of all available services

Start

$ brewservice start <service>

Start a service

Stop

$ brewservice stop <service>

Stop a service

Restart

$ brewservice restart <service>

Restart a service