Package backend :: Package daemons :: Module backend
[hide private]
[frames] | no frames]

Module backend

source code

Classes [hide private]
  CoprBackend
Core process - starts/stops/initializes workers and other backend components
Functions [hide private]
 
run_backend(opts)
Start main backend daemon
source code
Variables [hide private]
  __package__ = 'backend.daemons'
Function Details [hide private]

run_backend(opts)

source code 

Start main backend daemon

:param opts: Bunch object with command line options

Expected **opts** fields:

  • `config_file` - path to the backend config file
  • `daemonize` - boolean flag to enable daemon mode
  • `pidfile` - path to the backend pidfile