Welcome! Log In Create A New Profile

Advanced

Re: upstart conf for managing nginx

Francis Daly
July 25, 2015 03:02AM
On Fri, Jul 24, 2015 at 04:09:02PM -0700, vikrant singh wrote:

Hi there,

> I wrote a small upstart script to stop/start nginx through upstart. This is
> how it looks

I do not have an upstart system to test on, but:

* comparing with http://wiki.nginx.org/Upstart, you have "expect daemon"
and that has "expect fork".

* the binary you run is /usr/local/nginx/nginx; I think it is more common
for it to be /usr/local/nginx/sbin/nginx.

Does checking and changing either of those make a difference?

Does "hangs" mean "things run fine eventually, but there is a delay";
or "things never run correctly"?

(Is there anything in the nginx or upstart logs which might indicate
the problem?)

f
--
Francis Daly francis@daoine.org

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

upstart conf for managing nginx

vikrant singh July 24, 2015 07:10PM

Re: upstart conf for managing nginx

Francis Daly July 25, 2015 03:02AM

Re: upstart conf for managing nginx

Thiago Farina July 27, 2015 03:30PM

Re: upstart conf for managing nginx

vikrant singh July 29, 2015 12:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready