Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
nginx init.d script to start/stop/status etc (modified one from Debian 6 nignx repo for compiled nginx)
branch: master

This branch is 1 commit behind adriel:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
etc/init.d
README.md

README.md

Why

I didn't like the current offerings available.

Configuration

Feel to fork this and change the top variables with your configuration.

nano /etc/init.d/nginx
chmod +x /etc/init.d/nginx
update-rc.d nginx defaults

Notes

This is a modified nginx init apt-get script. It should work with a vanilla (defaults) build of nginx.

Example

/etc/init.d/nginx start
/etc/init.d/nginx stop
/etc/init.d/nginx status
Something went wrong with that request. Please try again.