Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

upstart conf for managing nginx (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>