Module contents
Application Components
Contains various components useful for application development and tasks
common to applications.
copyright: | CopyRight (C) 2004-2013 by James Mills |
license: | MIT (See: LICENSE) |
-
class circuits.app.Daemon(*args, **kwargs)
Bases: circuits.core.components.Component
Daemon Component
Parameters: |
- pidfile (str or unicode) – .pid filename
- stdin (str or unicode) – filename to log stdin
- stdout (str or unicode) – filename to log stdout
- stderr (str or unicode) – filename to log stderr
|
initializes x; see x.__class__.__doc__ for signature
-
channel = 'daemon'
-
daemonize()
-
deletepid()
-
init(pidfile, path='/', stdin=None, stdout=None, stderr=None, channel='daemon')
-
on_started(component)
-
registered(component, manager)
-
writepid()