Is it then possible to have an upstart script that doesn't do the restart? Just because upstart scripts are much cleaner than init scripts.
Thanks, Owen On 8 December 2012 12:59, Andrew Stewart <[email protected]> wrote: > > On 8 Dec 2012, at 00:52, Owen Davies wrote: >> I cannot find any good example of a unicorn upstart task that works >> properly for the following: >> >> * Upstart will restart if unicorn dies >> * Can send USR2 signal to unicorn to do a no downtime deploys >> * Able to stop upstart job, even after a deploy > > I take the view that the Unicorn master process is as reliable as a process > manager and therefore there's no need to manage Unicorn with a process > manager. > > Some may regard that as cheating but it neatly sidesteps your problem :) > > I use a control script like the one in the examples/ directory of the Unicorn > source to start/stop/restart Unicorn. > > Yours, > Andrew Stewart > > > _______________________________________________ > Unicorn mailing list - [email protected] > http://rubyforge.org/mailman/listinfo/mongrel-unicorn > Do not quote signatures (like this one) or top post when replying _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
