Class: Daemon::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/chocolate_rain/daemon.rb

Class Method Summary collapse

Class Method Details

.daemonizeObject



11
12
13
# File 'lib/chocolate_rain/daemon.rb', line 11

def self.daemonize
  Controller.daemonize(self)
end

.pid_fnObject



7
8
9
# File 'lib/chocolate_rain/daemon.rb', line 7

def self.pid_fn
  File.join(WorkingDirectory, "#{name}.pid")
end