Welcome! Log In Create A New Profile

Advanced

Re: How to add nginx to /etc/init.d list

António P. P. Almeida
November 05, 2010 07:12PM
On 5 Nov 2010 22h48 WET, vfclists@gmail.com wrote:

> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; ISO-8859-1 (7bit)>]
> I compiled nginx from source and I am launching it with
> /usr/local/nginx/bin/nginx.

> How is the source compilation added to the /etc/init.d list?

You need and init script. Grab the one from the Debian package, for
example. I suggest you grab the full debian package source and also
check the postinst script for an implementation of a script that does
version upgrade the proper way, i.e., without downtime. Otherwise
you'll have to send the correct signals to the running process in the
correct order.

Cf. http://wiki.nginx.org/NginxCommandLine#Controlling_Nginx_Via_the_Signals

--- appa




_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to add nginx to /etc/init.d list

Frank Church November 05, 2010 06:52PM

Re: How to add nginx to /etc/init.d list

António P. P. Almeida November 05, 2010 07:12PM

Re: How to add nginx to /etc/init.d list

Cliff Wells November 05, 2010 07:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready