If you want to start NGINX on system bootup you can use Homebrew‘s handy service command.

  • Step 1: Install NGINX via homebrew – if not already installed.
  • Step 2: Add NGINX as an autostart service – sudo brew services start nginx.
brew install nginx
sudo brew services start nginx
Screenshot 2023 01 02 at 11.19.58 AM

After NGINX is added to the autostart, you can disable its autostart using the following command:

sudo brew services stop nginx

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Involved & Explore More

an abstract painting with blue and yellow colors

Catch up on what I’ve been writing lately.

Show your gratitude.

Join Dare To Code Email List

Get emails from me on full-stack PHP development by subscribing to the Dare To Code mailing list.