gaku様の備忘録

プログラミングとか、夢と現実と理想とか。。。

Unicornの再起動

railsサーバのUnicornの再起動方法
Unicornキル:

kill -QUIT `cat /tmp/unicorn.pid`

で殺して、デベロップ版かプロダクション版か選ぶ
プロダクション:

bundle exec unicorn -E production -c config/unicorn.rb -D

デベロップ:

bundle exec unicorn_rails -c config/unicorn.rb -E development -D

■一言
久しぶりの投稿
いろいろ書きたいんだけど、ブログ書く時間あったら
コード書いちゃう。。。
どっちも頑張ります(´・ω・`)