mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
Runit sends HUP when 'reload' is called. Trap HUP and send USR2 to unicorn.
This commit is contained in:
parent
4d3c19f736
commit
daa8c50745
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ function on_reload()
|
|||
export UNICORN_SUPERVISOR_PID=$$
|
||||
|
||||
trap on_exit EXIT
|
||||
trap on_reload USR2
|
||||
trap on_reload USR2 HUP
|
||||
|
||||
unicorn $@ &
|
||||
UNICORN_PID=$!
|
||||
|
|
Loading…
Reference in a new issue