From fa17da92aa4e76d5fd63cb9b74d6884d611ec899 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 26 Nov 2013 18:58:03 +0000 Subject: doc: clarify SIGNALS and reference init example "interactive terminal" needed clarification. While we're at it, link to the init.sh example since it may be shared with nginx. Reported-by: Rodrigo Rosenfeld Rosas ref: <5294E9D4.5030608@gmail.com> --- SIGNALS | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SIGNALS b/SIGNALS index 8851775..48c651e 100644 --- a/SIGNALS +++ b/SIGNALS @@ -7,6 +7,9 @@ signal handling matches the behavior of {nginx}[http://nginx.net/] so it should be possible to easily share process management scripts between Unicorn and nginx. +One example init script is distributed with unicorn: +http://unicorn.bogomips.org/examples/init.sh + === Master Process * HUP - reloads config file and gracefully restart all workers. @@ -101,8 +104,8 @@ The procedure is exactly like that of nginx: 3. You can now send WINCH to the old master process so only the new workers serve requests. If your unicorn process is bound to an interactive - terminal, you can skip this step. Step 5 will be more difficult but - you can also skip it if your process is not daemonized. + terminal (not daemonized), you can skip this step. Step 5 will be more + difficult but you can also skip it if your process is not daemonized. 4. You should now ensure that everything is running correctly with the new workers as the old workers die off. -- cgit v1.2.3-24-ge0c7