nginx-0.7.53
Igor Sysoev
is at rambler-co.ru
Tue Apr 28 08:25:57 MSD 2009
On Mon, Apr 27, 2009 at 06:49:17PM -0700, Michael Shadle wrote:
> On Mon, Apr 27, 2009 at 6:32 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
>
> > -s signal : send signal to a master process: stop, quit, reopen, reload
>
> so -s will find the master process somehow? does it use the pid file
> defined in nginx.conf, or the default pid file location built in to
> the binary? or some other magic?
-s uses pid file defined in nginx.conf, if it's not defined, then built-in.
So you may use
./nginx -s reload -c /path/to/nginx.conf
or
./nginx -s reload -p /path/to/nginx
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list