Hello,
I wrote a small upstart script to stop/start nginx through upstart. This is
how it looks
description "nginx http daemon"
start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]
expect deamon
respawn
respawn limit 10 5
chdir /usr/local/nginx
exec ./nginx
I am running nginx from "/usr/local/nginx", and running as a user with
super user.
Still it hangs on start/stop command. Any idea what I may be missing..
Thanks,
Vikrant
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
I wrote a small upstart script to stop/start nginx through upstart. This is
how it looks
description "nginx http daemon"
start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]
expect deamon
respawn
respawn limit 10 5
chdir /usr/local/nginx
exec ./nginx
I am running nginx from "/usr/local/nginx", and running as a user with
super user.
Still it hangs on start/stop command. Any idea what I may be missing..
Thanks,
Vikrant
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx