nginx init script for redhat (rhel5)

Jean-Philippe Moal skateinmars at skateinmars.net
Tue Mar 17 12:43:25 MSK 2009


mike a écrit :
> Now I just need one for Ubuntu with the same amount of intelligence. :p
> 
> On Mon, Mar 16, 2009 at 9:24 PM, mike <mike503 at gmail.com> wrote:
>> i got it.
>>
>> thanks - this seems to work even better than mine.
>>
>> /me adds it to his installer
> 

You can use debian/ubuntu one :
http://svn.debian.org/wsvn/collab-maint/deb-maint/nginx/trunk/debian/init.d?op=file&rev=0&sc=0

It works fine for me with a "custom" nginx install, you just have to edit the
path to the daemon and if necessary add a var for the PID file.





More information about the nginx mailing list