/var/log/messages

Jun 18, 2014 - 1 minute read - Comments - rails

unicorn_rails 起動の方法について

忘れます。備忘まで。

起動が以下で

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

停止が以下で config/unicorn.rb が以下なカンジであれば

listen "/tmp/hoge.sock"
pid "/tmp/hoge.pid"

以下で停止。

$ kill -9 `cat /tmp/hoge.pid`

つうか、git push で deploy できるようにしたい。

差分のあるファイルの列挙 git push な deploy 検討

comments powered by Disqus