lib/recipes/centos/mongrel_cluster.rb in capitate-0.2.5 vs lib/recipes/centos/mongrel_cluster.rb in capitate-0.2.6
- old
+ new
@@ -36,9 +36,12 @@
unless mongrel_config_script.blank?
mongrel_config_options["config_script"] = mongrel_config_script
end
run "mkdir -p #{mongrel_config_dir}"
+
+ set :mongrel_pid_path, "#{mongrel_pid_dir}/#{mongrel_application}.pid"
+ set :mongrel_log_path, "log/#{mongrel_application}.log"
put template.load("mongrel/mongrel_cluster.initd.erb"), "/tmp/#{mongrel_initscript_name}.initd"
put template.load("mongrel/mongrel_cluster.yml.erb"), "#{mongrel_config_dir}/mongrel_cluster.yml"
# Setup the mongrel_cluster init script
\ No newline at end of file