FAQ

Page Discussion History

Difference between revisions of "InitScripts"

(Created page with "= Nginx Init Scripts = So many way to start Nginx. You can either used the binary or set something up that will work specifically for your needs. If you install Nginx from a re...")
 
(Nginx Init Scripts)
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
* [[RedHatNginxInitScript| Red Hat /etc/init.d/nginx]]
 
* [[RedHatNginxInitScript| Red Hat /etc/init.d/nginx]]
 
* [[RedHatPHPFCGIInitScript| Red Hat /etc/init.d/phpfcgi]]
 
* [[RedHatPHPFCGIInitScript| Red Hat /etc/init.d/phpfcgi]]
 +
 +
== Fedora ==
 +
 +
* [[FedoraSystemdServiceFile| Fedora /lib/systemd/system/nginx.service]]
  
 
== Ubuntu==
 
== Ubuntu==
Line 17: Line 21:
  
 
* [http://kbeezie.com/view/debian-ubuntu-nginx-init-script/ PHP-FPM (5.3.x) - Compatible with Lenny/Squeeze]
 
* [http://kbeezie.com/view/debian-ubuntu-nginx-init-script/ PHP-FPM (5.3.x) - Compatible with Lenny/Squeeze]
 +
* [https://github.com/MovLib/www/blob/master/bin/init-nginx.sh <abbr title="Linux Standard Base">LSB</abbr> compliant init script] which assumes installation in <code>/usr/local/sbin/nginx</code> <sup>[https://wiki.debian.org/LSBInitScripts [1<nowiki>]</nowiki>]</sup>
  
 
== FreeBSD ==
 
== FreeBSD ==
Line 27: Line 32:
  
 
* [[OSX launchd]]
 
* [[OSX launchd]]
 +
 +
== Windows ==
 +
 +
* [https://github.com/InvGate/winginx/ Nginx Service for Windows.] It uses [http://nssm.cc/ NSSM] as a wrapper for service behaviour.
  
 
== Others ==
 
== Others ==
  
 
* [[Standalone daemon]]
 
* [[Standalone daemon]]

Revision as of 16:45, 7 January 2014

Contents

Nginx Init Scripts

So many way to start Nginx. You can either used the binary or set something up that will work specifically for your needs. If you install Nginx from a repository, then it is likely that you already have an init script installed. If you installed from source, then you'll want to find a script from below to help you out.

Red Hat

Fedora

Ubuntu

Debian

FreeBSD

OSX

Windows

Others