https://github.com/johnantoni/nginx_init_script
script to install nginx + init script (fedora + ruby gem)
https://github.com/johnantoni/nginx_init_script
Last synced: 6 months ago
JSON representation
script to install nginx + init script (fedora + ruby gem)
- Host: GitHub
- URL: https://github.com/johnantoni/nginx_init_script
- Owner: johnantoni
- Created: 2011-02-15T18:50:00.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-15T20:51:41.000Z (over 15 years ago)
- Last Synced: 2025-06-11T20:36:52.717Z (about 1 year ago)
- Language: D
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# readme
script to install nginx on Fedora via the passenger ruby gem,
after which it will copy the script init.d into /etc/init.d
to autostart nginx on boot.
## pre-requisites
gem install passenger
## run
sh install.sh
## commands
sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx restart
sudo /etc/init.d/nginx reload
sudo /etc/init.d/nginx status
sudo /etc/init.d/nginx configtest