How do I restart my rails server?

April 24, 2015 4.8k views
Ruby on Rails Nginx Networking Linux Commands Ubuntu

I am running the nginx + unicorn on Ubuntu 14.04. I just uploaded my rails app to the /home/rails folder. How do I restart the server so it can use my changes?

1 Answer

To restart your Rails server, you can run:

  • sudo service unicorn restart

For more details on how the Ruby on Rails One-Click app is configured, check out this tutorial:

Have another answer? Share your knowledge.