Class Daemons::Pid
In: lib/daemons/pid.rb
Parent: Object

Methods

cleanup   dir   exist?   new   pid   pid=   running?  

Public Class methods

Returns the directory that should be used to write the pid file to depending on the given mode.

Some modes may require an additionaly hint, others may determine the directory automatically.

If no valid directory is found, returns nil.

Initialization method

Public Instance methods

Cleanup method

Exists? method

Get method

Set method

[Validate]