Skip to content

bondak/nginx-sysvinit-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

nginx SysVinit script

Linux Standard Base (LSB) compliant SysVinit script for nginx.

Install

git clone https://github.com/Fleshgrinder/nginx-sysvinit-script.git
cp nginx-sysvinit-script/nginx /etc/init.d/nginx
chmod 0755 /etc/init.d/nginx
chown root:root /etc/init.d/nginx

Usage

You can use it via the service command or by directly invoking the shell script in /etc/init.d; what you like best. Your shell will have auto-completion for the various keywords that are available, for instance if you type service nginx res just hit tab for auto-completion.

service nginx force-reload
service nginx reload
service nginx restart
service nginx start
service nginx status
service nginx stop

License

This is free and unencumbered software released into the public domain.

For more information, please refer to http://unlicense.org

Weblinks

About

Linux Standard Base compliant SysVinit script for nginx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published