ruby-on-railsdeploymentcapistrano3puma

How to restart puma after deploy?


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?


Solution

  • 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.