5
我在這裏部署策略的時候有點困惑,在什麼情況下我想發送一個reload
信號給獨角獸?例如,在我的情況下,它會像:對Unicorn使用`reload`而不是`restart`?
bundle exec unicorn -c config/unicorn/production.rb -E production -D
我只是想知道爲什麼:
sudo kill -s USR2 `cat /home/deploy/apps/my_app/current/tmp/pids/unicorn.pid`
我被再次殺死PID,然後開始通過麒麟像部署我的應用我想要使用重新加載?通過這樣做我可以獲得我部署的任何性能嗎?