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.
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
$ brewservice --help
View available commands.
$ 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
.
$ brewservice list
List available services
$ brewservice status
Show on/off status of all available services
$ brewservice start <service>
Start a service
$ brewservice stop <service>
Stop a service
$ brewservice restart <service>
Restart a service