service nginx start on amc code example Example: restart nginx in mac sudo nginx -s stop && sudo nginx