How to gracefully restart Nginx

Nginx FAQ: How do I gracefully restart Nginx?

This used to be harder, but these days all you have to do is run this command:

$ sudo service nginx restart

Note that you will probably want to make sure your configuration is correct with this command before running that command:

$ nginx -t

How to start a Mac in safe mode

Mac question: Something just went wrong, and I need to start my Mac (or iMac) in safe mode, or something like safe mode? Can this be done on a Mac?

Answer: Yes, Mac computers support a "safe mode" boot process. Here are the steps needed to start your Mac/iMac in safe mode: