Homebrew services

I just learned today that Homebrew has a built-in process manager. No more launchctl nightmare.

How to #

The basic usage looks like this:

brew services <command> <formula>

Where command is one of:

Example #

So to restart nginx, you’d run:

sudo brew services restart nginx

There’s more #

You can also list services managed by Homebrew:

brew services list

or get rid of stale services and plists:

brew services cleanup

Enjoy!

 
7
Kudos
 
7
Kudos

Now read this

Vagrant (VirtualBox) can’t connect to host-only network

If you’re unable to connect to your VM after upgrading VirtualBox, it’s most likely because of a documented, but well-hidden, change in networking in VirtualBox 6.1.28: On Linux, Mac OS X and Solaris Oracle VM VirtualBox will only allow... Continue →