Puma document to start, stop and restart.

 

Start:

 

  1. Go to application folder cd /var/www/projectfolder/
  2. Run the command  puma -C config/puma.rb  (or) pumactl -P /var/www/projectfolder/tmp/pids/puma.pid start
  3. Check the status ps aux | grep puma

 

Stop:

  

  1. Go to application folder cd /var/www/projectfolder/
  2.  ps aux | grep puma (or)  pumactl -P /var/www/projectfolder/tmp/pids/puma.pid stop
  3. Note the PID
  4. Kill -9 PID

 

Restart: 

 

  1. Go to application folder cd /var/www/projectfolder/
  2. pumactl -P /var/www/projectfolder/tmp/pids/puma.pid restart
  3. To check the puma log vim log/puma_out.log and vim log/puma_err.log
Categories: Uncategorized