From 57348bff1af3bd5817f1e7b12cd297d61d2f9414 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 18 Nov 2009 17:18:32 -0800 Subject: SIGNALS: HUP + preload_app cannot reload app code This is already documented in Configurator RDoc, but put it here just in case people don't read all the documentation. --- SIGNALS | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'SIGNALS') diff --git a/SIGNALS b/SIGNALS index 5c7295e..be96892 100644 --- a/SIGNALS +++ b/SIGNALS @@ -9,7 +9,12 @@ Unicorn and nginx. === Master Process -* HUP - reload config file, app, and gracefully restart all workers +* HUP - reloads config file and gracefully restart all workers. + If the "preload_app" directive is false (the default), then workers + will also pick up any application code changes when restarted. If + "preload_app" is true, then application code changes will have no + effect; USR2 + QUIT (see below) must be used to load newer code in + this case. * INT/TERM - quick shutdown, kills all workers immediately -- cgit v1.2.3-24-ge0c7