On Saturday 13 October 2012 16:10:48 Valentin V. Bartenev wrote:
> On Saturday 13 October 2012 04:25:36 Bob S. wrote:
> > I don't see how this can work.
> >
> > Trying to replace the nginx executable with a new version of nginx, while
> > nginx is running, will produce:
> >
> > cp: cannot create regular file `nginx': Text file busy
> >
> > Or am I missing something?
> >
> > This is standard behavior on any running executable in Linux.
>
> This is just a warning produced by "cp", you can force it with -f flag.
>
But anyway, it would be a much better idea to "mv" or "rm" an old binary instead
of overwrite it.
wbr, Valentin V. Bartenev
--
http://nginx.com/support.html
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx