ruby-on-railsunicornlocomotivecms

Unicorn rails server running always


I am using unicorn server for locomotive cms installed on digital ocean in ubuntu 12.04. I am wondering how I keep the server running so when I log out of the ssh session the site stays up and running.

This is currently the command I use to get it running

bundle exec unicorn_rails -p 80

Thanks! in advance


Solution

  • you need to set up unicorn with apache or nginx. here is a guide for apache + unicorn. with that setup you can start and stop server by starting and stopping apache service.