nginx custom script location

Tomasz Torcz tomek at pipebreaker.pl
Wed May 16 07:16:53 UTC 2012


On Wed, May 16, 2012 at 01:19:20AM +0200, Michal Schmidt wrote:
> On 05/16/2012 12:21 AM, Jamie Nguyen wrote:
> >    /etc/init.d/nginx upgrade
> >
> >This has disappeared following migration to systemd, so my intention
> >is to include an nginx-upgrade shell script to replace this
> >functionality.
> >
> >My question is, where should this shell script go? In /usr/bin/nginx-upgrade?
> 
> Yes, this looks like a good choice to me.
> 
> Then immediately a question comes to mind: Shouldn't the script be
> pushed upstream, rather than being a Fedora-specific addition?

  Also, implementing socket-activation in nginx would make it upgradable
without losing any connections.

-- 
Tomasz Torcz       ,,(...) today's high-end is tomorrow's embedded processor.''
xmpp: zdzichubg at chrome.pl                      -- Mitchell Blank on LKML



More information about the devel mailing list