How do I launch unicorn_rails as a startup script with rvm installed on my ubuntu 12.04 machine?
- by ne0lithic_coder
I have a rails app on my server. I have a script startup.sh which launches unicorn_rails and then nginx.
In order to get my server to launch on system boot, I've added a line to call my startup script to /etc/rc.local
However, this doesn't work. I added some checks to make sure the script is being called and it is. It's the call to unicorn_rails which I think is failing. Does anyone have experience with this?