Browse Source

Use the run_restart parameter in runit_service

jtimberman 14 years ago
parent
commit
4d44c5a488
2 changed files with 3 additions and 2 deletions
  1. 2 2
      metadata.rb
  2. 1 0
      recipes/unicorn.rb

+ 2 - 2
metadata.rb

@@ -2,8 +2,8 @@ maintainer       "Opscode, Inc."
 maintainer_email "cookbooks@opscode.com"
 license          "Apache 2.0"
 description      "Deploys and configures a Rails application from databag 'apps'"
-long_description  IO.read(File.join(File.dirname(__FILE__), 'README.txt'))
-version          "0.3"
+long_description  IO.read(File.join(File.dirname(__FILE__), 'README.md'))
+version          "0.4"
 
 %w{ ruby_enterprise passenger_enterprise runit unicorn }.each do |cb|
   depends cb

+ 1 - 0
recipes/unicorn.rb

@@ -41,6 +41,7 @@ runit_service app['id'] do
   template_name 'unicorn'
   cookbook 'application'
   options(:app => app)
+  run_restart false
 end
 
 if File.exists?(File.join(app['deploy_to'], "current"))