Welcome! Log In Create A New Profile

Advanced

Re: nginx init script for redhat (rhel5)

mike
March 17, 2009 01:45PM
On Tue, Mar 17, 2009 at 2:43 AM, Jean-Philippe Moal
<skateinmars@skateinmars.net> wrote:

> 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.

I might give it a shot. I think I'd rather port Cliff's. It does a
config test on start/reload/restart, which is neat.

I'm actually using one almost identical to yours except yours has "||
true" at the end of each line:

--exec $DAEMON -- $DAEMON_OPTS || true

So I don't think it will be much different.

Or, if someone else on the list wants to take Cliff's and port it to
Ubuntu using start-stop-daemon (ideally) I'll Paypal you some cash.

(Note: payment will be done after I test it thoroughly for all
functionality in place :))
Subject Author Posted

nginx init script for redhat (rhel5)

mike March 16, 2009 11:27PM

Re: nginx init script for redhat (rhel5)

Chris Zimmerman March 16, 2009 11:35PM

Re: nginx init script for redhat (rhel5)

mike March 16, 2009 11:37PM

Re: nginx init script for redhat (rhel5)

Chris Zimmerman March 16, 2009 11:45PM

Re: nginx init script for redhat (rhel5)

Jim Ohlstein March 16, 2009 11:36PM

Re: nginx init script for redhat (rhel5)

mike March 16, 2009 11:42PM

Re: nginx init script for redhat (rhel5)

Cliff Wells March 16, 2009 11:56PM

Re: nginx init script for redhat (rhel5)

Cliff Wells March 17, 2009 12:02AM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 12:08AM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 12:09AM

Re: nginx init script for redhat (rhel5)

Cliff Wells March 17, 2009 12:40AM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 12:43AM

Re: nginx init script for redhat (rhel5)

Jean-Philippe Moal March 17, 2009 06:07AM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 01:45PM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 12:45AM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 03:26AM

RE: nginx init script for redhat (rhel5)

Jeroen Steggink - CMS March 17, 2009 03:57AM

Re: nginx init script for redhat (rhel5)

mike March 17, 2009 04:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready