Look at the following doc Rhomobile | Deploying a RhoConnect Application (section deploying rhoconnect redis and push packages). Packages will provide startup scripts for redis an push services (init.d scripts for Cent OS)
Thanks for the response.
I had a look at the documentation and it does mention scripts for redis and push services however this doesn't fully address my original question.
I can't start up rhoconnect using an upstart script. I have the system configured such that upstart will issue a system wide event on successful launch of rhoconnect which will trigger the scripts for the push server and plugin to start.
The only entries in the log file on trying to start rhoconnect are:-
Detach with Ctrl+\ Re-attach with rhoconnect attach
dtach: Attaching to a session requires a terminal
I wish I knew more about your environment, and how you installed rhoconnect stack.
Based on your post I can suggest that you are using in upstart script "rhoconnect start" command. This command is only for development and should not be used in startup scripts. It's a wrapper around rackup with some useful goodies for developers.
Use in upstart script the following command (it should run from your project directory)
bundle exec rackup -s thin --port 9292 -P /path/to/your_rhoconnect.pid config.ru