忘れます。備忘まで。
起動が以下で
$ 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 できるようにしたい。
忘れます。備忘まで。
起動が以下で
$ 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 できるようにしたい。