Hi John,
> Is there a reason why every script or suggestion I see floating around
> the net still does it "the hard way" (and I wonder, even on _this_
> mailing list):
>
> $ kill -USR1 `cat /var/run/nginx.pid`
> $ pkill -USR1 -f ^nginx:.*master.*process
Yes, there is: consistency.
Pretty much every daemon supports "the standard way" for control (graceful
restarts, termination, reloads, etc), so people that use other daemons
prefer to use the method that is consistent among all of them instead of
using daemon-specific one.
Best regards,
Piotr Sikora < piotr.sikora@frickle.com >
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx