nginx-0.7.53

Michael Shadle mike503 at gmail.com
Tue Apr 28 08:56:40 MSD 2009


what is the difference between "stop" and "quit"

i assume "reopen" is to reopen logfiles, and "reload" is graceful reloading

you should add in a restart as well (forceful restart)

2009/4/27 Igor Sysoev <is at rambler-co.ru>:
> 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/
>
>

hat is th





More information about the nginx mailing list