Permalink
Browse files

don't pipe juggernaut output to logger, doesnt work

  • Loading branch information...
1 parent e9185eb commit 19cfff0c1a99bcee540b85bcc9e2c57269b6b44b @jsierles committed Sep 8, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 juggernaut/templates/default/bluepill.conf.erb
View
3 juggernaut/templates/default/bluepill.conf.erb
@@ -2,9 +2,10 @@ Bluepill.application("juggernaut") do |app|
app.working_dir = "/u/juggernaut"
app.process("juggernaut") do |process|
process.daemonize = true
- process.start_command = "/usr/bin/juggernaut --port <%= @node.juggernaut.port %> 2>&1 |/usr/bin/logger -t juggernaut -p local6.notice"
+ process.start_command = "/usr/bin/juggernaut --port <%= @node.juggernaut.port %>"
process.stop_command = "kill -QUIT {{PID}}"
process.environment = {"REDISTOGO_URL" => "redis://nil:nil@<%= @node.juggernaut.redis_host %>:<%= @node.juggernaut.redis_port %>"}
process.pid_file = "/var/run/juggernaut.pid"
+ process.stdout = process.stderr = "/u/juggernaut/juggernaut.log"
end
end

0 comments on commit 19cfff0

Please sign in to comment.