Created
October 8, 2013 18:54
-
-
Save bandicoot86/6889667 to your computer and use it in GitHub Desktop.
Restore nginx in init.d folder
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 http://library.linode.com/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 /usr/sbin/update-rc.d -f nginx defaults |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment