Created
March 22, 2014 12:36
-
-
Save suplo/9706528 to your computer and use it in GitHub Desktop.
nginx service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -O init-deb.sh http://library.linode.com/assets/1139-init-deb.sh | |
mv init-deb.sh /etc/init.d/nginx | |
chmod +x /etc/init.d/nginx | |
/usr/sbin/update-rc.d -f nginx defaults | |
sudo service nginx start or sudo /etc/init.d/nginx start | |
sudo service nginx restart or sudo /etc/init.d/nginx restart | |
sudo service nginx reload or sudo /etc/init.d/nginx reload | |
sudo service nginx stop or sudo /etc/init.d/nginx stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment