Welcome! Log In Create A New Profile

Advanced

upstart conf for managing nginx

vikrant singh
July 24, 2015 07:10PM
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
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: 148
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