class Process::Daemon::ProcessFile
def self.status(daemon)
This function returns the status of the daemon. This can be one of +:running+, +:unknown+ (pid file exists but no
def self.status(daemon) if File.exist? daemon.process_file_path return ProcessFile.running(daemon) ? :running : :unknown else return :stopped end end