I am looking for some ideas on how to start up my "Thin" Rails server automatically, whenever the machine where it resides reboots.
The problem is that when the machine reboots, "Thin" needs to be started up manually, which causes issues with the Rails sites being down until someone starts up "Thin" by hand.
/var/www/app_directory# thin start --ssl -e production
Details
Ruby: 1.9.2
Rails: v3.2.1
Thin: v1.5.0
Machine: Debian 6 "Squeeze"
I know that apache runs as it's own user on the box. Not sure if that same approach makes sense with my particular problem.
Thanks