Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart nginx

sudo systemctl reload nginx
Comment

restart nginx in mac

sudo nginx -s stop && sudo 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

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 :: git remove local changes and pull 
Shell :: install/uninstall deb packages from linux/ubuntu 
Shell :: verify xcode command tools installation 
Shell :: install cv2 
Shell :: install java 16 ubuntu 
Shell :: stop tracking files git 
Shell :: grep windows 
Shell :: linux my ip 
Shell :: how to abort a rebase 
Shell :: bash wait for input to continue 
Shell :: how to update metasploit 
Shell :: copy folder from on server machine 
Shell :: find process on linux 
Shell :: github repo with most issues 
Shell :: screen recorder for ubuntu 
Shell :: git eof config 
Shell :: install bootstrap 4 npm 
Shell :: linux command create folder if not exist 
Shell :: install oh my zsh mac 
Shell :: ubuntu icons missing on taskbar 
Shell :: edit bash profile 
Shell :: ubuntu git https not supported 
Shell :: ubuntu upgrade php to 7.3 
Shell :: git flow init 
Shell :: unzip to directory 
Shell :: how to install teamspeak server arch linux 
Shell :: how to tar and gzip a file in linux 
Shell :: mix ecto.migrate 
Shell :: How to install LAMP in Ubuntu 20.04? 
Shell :: generate patch file git 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =