Last Updated: February 25, 2016
·
740
· pixel67

Use Homebrew to manage launchctl

Homebrew services to manage your launchctl items

Here is an example of how to use it:

brew services start mysql
brew services stop mysql
brew services restart mysql

To see everything you loaded:

brew services list
mysql   started   311 /Users/tonybrown/Library/LaunchAgents/homebrew.mxcl.mysql.plist
redis    started    312 /Users/tonybrown/Library/LaunchAgents/homebrew.mxcl.redis.plist
nginx   started    313 /Users/tonybrown/Library/LaunchAgents/homebrew.mxcl.nginx.plist
postgresql   started    314 /Users/tonybrown/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
memcached   started    316 /Users/tonybrown/Library/LaunchAgents/homebrew.mxcl.memcached.plist