Class: Daemon::Base

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

Class Method Summary collapse

Class Method Details

.daemonizeObject



13
14
15
# File 'lib/forge/lib/daemon.rb', line 13

def self.daemonize
  Controller.daemonize(self)
end

.pid_fnObject



9
10
11
# File 'lib/forge/lib/daemon.rb', line 9

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