Skip to content
Browse files

COOK-454, runit service should use unicorn instead of unicorn_rails

  • Loading branch information...
1 parent 2ab3a02 commit 1b3ea7861aff793222e4d1841250e044aa6abd1a @schisamo schisamo committed Jan 31, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 application/metadata.json
  2. +1 −1 application/metadata.rb
  3. +1 −1 application/templates/default/sv-unicorn-run.erb
View
2 application/metadata.json
@@ -46,5 +46,5 @@
"application::tomcat": "Sets up the deployed Java application with Tomcat as the servlet container",
"application::unicorn": "Sets up the deployed Rails application with Unicorn as the web server"
},
- "version": "0.99.1"
+ "version": "0.99.2"
}
View
2 application/metadata.rb
@@ -3,7 +3,7 @@
license "Apache 2.0"
description "Deploys and configures a variety of applications defined from databag 'apps'"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version "0.99.1"
+version "0.99.2"
recipe "application", "Loads application databags and selects recipes to use"
recipe "application::java_webapp", "Deploys a Java web application WAR specified in a data bag with the remote_file resource"
recipe "application::passenger_apache2", "Sets up a deployed Rails application as a Passenger virtual host in Apache2"
View
2 application/templates/default/sv-unicorn-run.erb
@@ -3,5 +3,5 @@
cd <%= @options[:app]['deploy_to'] %>/current
exec 2>&1
-exec chpst -u <%= @options[:app]["owner"] %>:<%= @options[:app]["group"] %> unicorn_rails -E <%= node[:app_environment] %> -c /etc/unicorn/<%= @options[:app]['id'] %>.rb
+exec chpst -u <%= @options[:app]["owner"] %>:<%= @options[:app]["group"] %> unicorn -E <%= node[:app_environment] %> -c /etc/unicorn/<%= @options[:app]['id'] %>.rb

0 comments on commit 1b3ea78

Please sign in to comment.
Something went wrong with that request. Please try again.