Skip to content

Commit

Permalink
Backported fixes from Scribd codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kovyrin committed Feb 16, 2009
1 parent eddbd54 commit fb09d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/loops/daemonize.rb
Expand Up @@ -61,7 +61,7 @@ def self.daemonize(app_name)

$0 = app_name if app_name

Dir.chdir(Rails.root) # Make sure we're in the working directory
Dir.chdir(LOOPS_ROOT) # Make sure we're in the working directory
File.umask(0000) # Insure sensible umask

return sess_id
Expand Down
1 change: 1 addition & 0 deletions lib/loops/process_manager.rb
@@ -1,4 +1,5 @@
require 'loops/worker'
require 'loops/worker_pool'

class Loops::ProcessManager
attr_reader :logger
Expand Down

0 comments on commit fb09d67

Please sign in to comment.