Nginx as a Linux Service

glen at glen at
Thu Oct 30 17:21:47 MSK 2008

Better put /usr/local/nginx/sbin/nginx on your /etc/rc.local file
then try to reboot your server


Glen Lumanau
Sent from my BlackBerry®

-----Original Message-----
From: Cherife Li <cherife at>

Date: Thu, 30 Oct 2008 22:18:13 
To: <nginx at>
Subject: Re: Nginx as a Linux Service

On 2008-10-30 21:59, Chris Gers32 wrote:
> Anoop Alias wrote:
>> Yes , Of-course :)
>> When you install nginx you will get a startup script /etc/init.d/nginx
> Thank your for your quick reply. So I first created a symbolic link from 
> /etc/init.d/nginx to /usr/local/nginx/sbin/nginx then rebooted, but 
> nginx didn't start. So I replaced the symbolic link with a copy of the 
> nginx executable, again to no avail...
Using RHEL? So, the command `chkconfig' is a good start.
Here is a simple intro, 
You'd better read about something on linux boot procedure.
Do NOT think in the M$ way while on an linux box.
It is out of character to discuss SA here.

More information about the nginx mailing list