Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart nginx

sudo systemctl reload nginx
Comment

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
Comment

restart nginx ubuntu

systemctl restart nginx
Comment

restart nginx

// The nginx package supplies a /etc/init.d/nginx script that provides the usual start|stop|restart|reload ... functionality.

/etc/init.d/nginx restart

// will restart nginx as will

service nginx restart
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install g++ in fedora 
Shell :: git case sensitive folder 
Shell :: check bash version 
Shell :: change last commit message 
Shell :: Error response from daemon: open .pipedocker_engine_linux: The system cannot find the file specified. 
Shell :: kill all process that match in grep 
Shell :: emacs ubuntu install 
Shell :: delete old files linux 
Shell :: how to upgrade docker-compose to latest version 
Shell :: check ubuntu or centos 
Shell :: pipenv not found after pip3 install 
Shell :: install specific kubectl version 
Shell :: revert to master origin branch git 
Shell :: remove netbeans snap 
Shell :: Remove the credentials of git 
Shell :: how to make bat file delete itsself 
Shell :: force delete pod kubernetes 
Shell :: certbot renew single domain 
Shell :: snapd install 
Shell :: ubuntu macbook camera 
Shell :: git show upstream 
Shell :: rancher docker reset password 
Shell :: fish disable welcome message 
Shell :: .desktop file 
Shell :: sudo apt-get -y install postgresql 
Shell :: sudo no password 
Shell :: certbot remove certificate 
Shell :: ubuntu edit etc host 
Shell :: spacevim installation 
Shell :: conda install pyserial 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =