examples/unicorn.eye in reel-eye-0.3.2 vs examples/unicorn.eye in reel-eye-0.4
- old
+ new
@@ -4,10 +4,10 @@
RAILS_ENV = 'production'
Eye.application "rails_unicorn" do
env "RAILS_ENV" => RAILS_ENV, "PATH" => "#{File.dirname(RUBY)}:#{ENV['PATH']}"
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}}"
restart_command "kill -USR2 {{PID}}"