Skip to content

Commit

Permalink
unicorn: use relative path for old PID file
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Dec 29, 2011
1 parent d15f4ab commit 375190e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unicorn-run
Expand Up @@ -61,7 +61,7 @@ before_fork do |server, worker|
#
# Using this method we get 0 downtime deploys.
old_pid = RAILS_ROOT + '/tmp/pids/unicorn.pid.oldbin'
old_pid = 'tmp/pids/unicorn.pid.oldbin'
if File.exists?(old_pid) && server.pid != old_pid
begin
puts "Shutting down old process"
Expand Down

0 comments on commit 375190e

Please sign in to comment.