mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Merge pull request #2381 from jsierles/fix_runit_reload
Trap runit HUP signal and send USR2 to unicorn
This commit is contained in:
commit
5d0fee683d
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