nginx and upstart

2013-10-01 Thread Ingo Schmidt
Hi! I have seen this question has been asked before in the list, but unfortunately there haven't been any answers, so let's see if I have more luck :) In can successfully upgrade the nginx binary on the fly as documented here: http://wiki.nginx.org/CommandLine#Upgrading_To_a_New_Binary_On_The

Nginx and upstart

2013-04-02 Thread skrode
Hi I'm using the following script to keep nginx up and running: start on (filesystem and net-device-up IFACE=lo) stop on runlevel [!2345] env DAEMON=/usr/sbin/nginx env CONF=/etc/nginx/nginx.conf env PID=/var/run/nginx.pid respawn respawn limit 10 5 pre-start script $DAEMON -t if [ $?