I'm running on problems when trying to start or stop nginx.

I can start stop nginx by hand fine, just running the init script,
which is the same script that is used in god configuration. But when I
try to stop nginx with god that's what I get

Oct  1 16:00:05 tests-app-01 god[1088]: nginx stop command exited with
non-zero code = 1
Oct  1 16:00:05 tests-app-01 god[1088]: nginx ensuring stop...
Oct  1 16:00:15 tests-app-01 god[1088]: nginx still alive after 10s;
sent SIGKILL

Then god sends SIGKILL to nginx process and it gets killed but every
nginx children does not, which in undesirable.

When running nginx trough god I just get:

Oct  1 16:02:34 tests-app-01 god[1088]: nginx start command exited
with non-zero code = 1

Here is nginx god config file:

http://pastie.org/private/1psug6jbk1xcb1j5nliq

Here is nginx init script which is used for starting/stopping.

http://pastie.org/private/3s87oxbaf2lpzwkeqsffnq

How can I fix that?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en.

Reply via email to