Created
July 4, 2016 00:14
-
-
Save ScottRadcliff/d4cc014b587489650d991af7a1c6c5fa to your computer and use it in GitHub Desktop.
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
# Download nginx startup script | |
wget -O init-deb.sh https://www.linode.com/docs/assets/660-init-deb.sh | |
# Move the script to the init.d directory & make executable | |
sudo mv init-deb.sh /etc/init.d/nginx | |
sudo chmod +x /etc/init.d/nginx | |
# Add nginx to the system startup | |
sudo service nginx stop | |
sudo service nginx start | |
sudo service nginx restart | |
sudo service nginx reload | |
# via http://askubuntu.com/questions/257108/trying-to-start-nginx-on-vps-i-get-nginx-unrecognized-service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment