A platform for community discussion. Free, open, simple.
Stop Sidekiq first before reloading unicorn master.
Guo Xiang Tan598ac6977310
diff --git a/config/unicorn_launcher b/config/unicorn_launcherindex 0aec686d2d4..39604fdb83a 100755--- a/config/unicorn_launcher+++ b/config/unicorn_launcher@@ -18,6 +18,8 @@ function on_exit()function on_reload(){+ log "Stopping Sidekiq"+ kill -s TSTP $UNICORN_PIDlog "Reloading unicorn ($UNICORN_PID)"kill -s USR2 $UNICORN_PIDunset NEW_UNICORN_PID