examples/unicorn.eye in reel-eye-0.3.1 vs examples/unicorn.eye in reel-eye-0.3.2

- old
+ new

@@ -3,10 +3,10 @@ RUBY = '/usr/local/ruby/1.9.3/bin/ruby' # ruby on the server RAILS_ENV = 'production' Eye.application "rails_unicorn" do env "RAILS_ENV" => RAILS_ENV, "PATH" => "#{File.dirname(RUBY)}:#{ENV['PATH']}" - working_dir "/projects/rails_unicorn" + working_dir File.expand_path(File.join(File.dirname(__FILE__), %w[ processes ])) process("unicorn") do pid_file "tmp/pids/unicorn.pid" start_command "#{RUBY} ./bin/unicorn -Dc ./config/unicorn.rb -E #{RAILS_ENV}" stop_command "kill -QUIT {{PID}}"