Can't get reboot script to load thin or Rails on EC2 Ubuntu instance. Thin, Rails, SSL load as desired in various configurations (local/external, port, environment, plain/SSL) when invoked from command line in Rails directory.
sudo /usr/sbin/update-rc.d -f thin defaults
added thin to start/stop. But shows: warning default stop runlevel arguments (0 1 6) do not match thin (S 0 1 6)
added app.yml to /etc/thin:
+ other couple other options that seem identical to defaults. No SSL options yet. Just want to get app to start.
reboot. No app connection. sudo thin stop produces ruby error (taken to mean thin not running taken to mean thin not launched on reboot).
Any ideas, incantations, missed steps, etc.? Thanks in advance.