Browse Source

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

Seth Chisamore 13 years ago
parent
commit
2c6d44a131
3 changed files with 3 additions and 3 deletions
  1. 1 1
      metadata.json
  2. 1 1
      metadata.rb
  3. 1 1
      templates/default/sv-unicorn-run.erb

+ 1 - 1
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"
 }

+ 1 - 1
metadata.rb

@@ -3,7 +3,7 @@ maintainer_email "cookbooks@opscode.com"
 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"

+ 1 - 1
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