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

// 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

restart nginx mac

brew services restart nginx
Comment

restart nginx windows

@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT
Comment

PREVIOUS NEXT
Code Example
Shell :: install ruby environment on ubuntu 20.04 
Shell :: mv command linux 
Shell :: how to add a file in git 
Shell :: add kdiff3 to git 
Shell :: rvm not function rvm use 
Shell :: install mavros on ubuntu 
Shell :: keyboard continuously backspace not working linux 
Shell :: plesk show mailqueue 
Shell :: how to install programs in ubuntu using terminal 
Shell :: roundcube cannot connect to storage server 
Shell :: command to transform to asci code bash 
Shell :: ubuntu open file system from terminal 
Shell :: cast my phone screen on laptop in arch linux 
Shell :: install styletron 
Shell :: golang msys2 
Shell :: webp to png ubuntu command 
Shell :: full path with linux find 
Shell :: crontab reverse shell 
Shell :: install svgo linux 
Shell :: bash run until success or timeout 
Shell :: how to clean snap linux 
Shell :: purge opencv ubuntu 20.04 
Shell :: how to sort in grep in second column in /etc/passwd 
Shell :: linux command line image converter 
Shell :: create a new repository from command line 
Shell :: git clear local branch list 
Shell :: create a tar with folder content only 
Shell :: conda install libsndfile 
Shell :: xrandr 1600x900 
Shell :: tcr test commit revert 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =