mehmetboraezer / homebrew-services

:rocket: Starts Homebrew formulae's plists with launchctl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Homebrew Services

Build Status

Integrates Homebrew formulae with macOS's launchctl manager.

By default, plists are installed to ~/Library/LaunchAgents/ and run as the current user upon login. When brew services is run as the root user, plists are installed to /Library/LaunchDaemons/, and run as the root user on boot.

Installation

brew tap homebrew/services

Examples

Install and start service mysql at login

$ brew install mysql
$ brew services start mysql

Run service. Don't start at login (nor boot):

$ brew services run mysql

Stop service mysql:

$ brew services stop mysql

Restart service mysql:

$ brew services restart mysql

Install and start dnsmasq service at boot

$ brew install dnsmasq
$ sudo brew services start dnsmasq

List all services managed by brew services

$ brew services list

Run/start/stop/restart all available services

$ brew services run|start|stop|restart --all

About

:rocket: Starts Homebrew formulae's plists with launchctl

License:Other


Languages

Language:Ruby 100.0%