Thanks for your reply… and pointing out the typo.
nginx doesnt comes up, and upstart command hangs, I have to kill it to
out of it.
Changing path did not helped and neither does expect fork (but I do
need fork and not daemon) .
It turned out that I named my conf file as “nginx.conf”, and it was
the problem. I guess because it is also trying to start a binary with
name (but not sure).
Changing the name of config file fixed the issue… and I am able to use
upstart conf to manage nginx.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.