templates/unicorn.rb.erb in pushapp-0.1.0 vs templates/unicorn.rb.erb in pushapp-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
# Sample configuration file for Unicorn (not Rack)
#
# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
# documentation.
-env ||= ENV["RACK_ENV"] || "development"
+env ||= ENV['RACK_ENV'] || 'development'
root = File.expand_path('../..', __FILE__)
# Use at least one worker per core if you're on a dedicated server,
# more will usually help for _short_ waits on databases/caches.
worker_processes 4
@@ -12,10 +12,10 @@
# "current" directory that Capistrano sets up.
working_directory root # available in 0.94.0+
# listen on both a Unix domain socket and a TCP port,
# we use a shorter backlog for quicker failover when busy
-listen "/tmp/unicorn.<%= app_name %>.#{app_env}.sock", :backlog => 64
+listen "/tmp/unicorn.<%= app_name %>.#{env}.sock", :backlog => 64
# nuke workers after 60 seconds (the default)
timeout 60
# feel free to point this anywhere accessible on the filesystem
\ No newline at end of file