How to restart puma after deploy?

mystdeim picture mystdeim · Apr 9, 2015 · Viewed 52.6k times · Source

I'm using Rails, Puma, Capistrano3. I have installed the gem capistrano3-puma as well. I started Puma with Puma Jungle https://github.com/puma/puma/tree/master/tools/jungle/upstart

How do I restart Puma during deployment?

Answer

JamesDullaghan picture JamesDullaghan · Apr 9, 2015

You can restart manually using the following command

bundle exec pumactl -P /home/deploy/.pids/puma.pid restart

Make sure you point to the correct pid path.