Skip to content

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

Notifications You must be signed in to change notification settings

adriel/nginx-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages