A platform for community discussion. Free, open, simple.
FIX: `unicorn_launcher` should shut down unicorn gracefully.
Guo Xiang Tan4b367dc61e4d
diff --git a/config/unicorn_launcher b/config/unicorn_launcherindex 035ec047810..b2eb9b8ac8e 100755--- a/config/unicorn_launcher+++ b/config/unicorn_launcher@@ -18,7 +18,7 @@ function on_reload()sleep 10curl $LOCAL_WEB &> /dev/nullNEW_UNICORN_PID=`ps -f --ppid $UNICORN_PID | grep unicorn | grep -v worker | awk '{ print $2 }'`- kill $UNICORN_PID+ kill -s QUIT $UNICORN_PIDecho "Old pid is: $UNICORN_PID New pid is: $NEW_UNICORN_PID"UNICORN_PID=$NEW_UNICORN_PID}