How do I launch unicorn_rails as a startup script with rvm installed on my ubuntu 12.04 machine?
Posted
by
ne0lithic_coder
on Server Fault
See other posts from Server Fault
or by ne0lithic_coder
Published on 2012-09-25T09:11:41Z
Indexed on
2012/09/25
9:39 UTC
Read the original article
Hit count: 142
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?
© Server Fault or respective owner