Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Start / Restart / Stop Nginx Commands

sudo systemctl start nginx 
sudo systemctl stop nginx 
sudo systemctl restart nginx


sudo service nginx start
sudo service nginx stop
sudo service nginx restart

sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx restart
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #Start #Restart #Stop #Nginx #Commands
ADD COMMENT
Topic
Name
7+6 =