This cartridge for OpenShift allows you to configure and use Foreman to run processes in the background.
Once you have an existing OpenShift application, run the following command:
rhc cartridge add -a app_name http://cartreflect-claytondev.rhcloud.com/reflect?github=ncdc/openshift-foreman-cartridge
In the root of your application's git repository, create a file called Procfile. Then add one or more entries such as:
mytask: bundle exec rake resque:work QUEUE=*
Output from Foreman is written to $OPENSHIFT_HOMEDIR/foreman/log/foreman.log
This cartridge does not currently listen on any ports.
Licensed under the Apache Software License, v2.0. Please see LICENSE for more information.