Nginx as a Linux Service

glen at lumanau.web.id glen at lumanau.web.id
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

Regards,

Glen Lumanau
-
Sent from my BlackBerry®

-----Original Message-----
From: Cherife Li <cherife at dotimes.com>

Date: Thu, 30 Oct 2008 22:18:13 
To: <nginx at sysoev.ru>
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, http://oldfield.wattle.id.au/luv/boot.html. 
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.
-- 
Rgds,
Cherife.



More information about the nginx mailing list