Class DaemonKit::Configuration
In: lib/daemon_kit/initializer.rb
Parent: Object

Holds our various configuration values

Methods

Included Modules

Configurable

Attributes

load_paths  [RW]  List of load paths
log_level  [R]  The log level to use, defaults to DEBUG
log_stdout  [RW]  Duplicate log data to stdout
logger  [RW]  Custom logger instance to use
pid_file  [RW]  Path to the pid file, defaults to ‘log/<daemon_name>.pid‘
root_path  [R]  Root to the daemon
safety_net  [RW]  Our safety net (Safety) instance
shutdown_hooks  [R]  :nodoc: Shutdown hooks
signal_traps  [R]  Collection of signal traps

Public Class methods

Public Instance methods

Add a block or proc to be called during shutdown

The path to the current environment‘s file (development.rb, etc.). By default the file is at config/environments/#{environment}.rb.

Set the log level

Add a trap for the specified signal, can be code block or a proc

Protected Instance methods

[Validate]