Skip to content
frikilax edited this page Aug 4, 2020 · 16 revisions

Welcome to the D.A.R.W.I.N. project documentation.

Dependencies

Running

  • Python 3.5.3 or above
  • boost-libs 1.70.0 or above
  • hiredis 0.13.3 or above

Each filter can have specific dependencies, see in their respective page

Python dependencies

  • psutil
  • redis
  • jsonschema

Every required dependency should be listed for you in manager/requirements.txt

Compilation

  • gcc/g++ version 8.3.0 or above
  • cmake 3.7.2 or above
  • make

The Service

In the service directory is an rc script named darwin that is the service script. It handles the following commands: start, stop, status and restart.

Usage

Use this for debug purpose only.

Usage:

manager.py [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
[-p PREFIX_DIRECTORIES]
[-s SUFFIX_DIRECTORIES | --no-suffix-directories] config-file

Positional arguments:

config_file The config file to use.

Optional arguments:

-h, --help show this help message and exit

-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL} Set log level to DEBUG, INFO, WARNING (default), ERROR or CRITICAL.

-p PREFIX_DIRECTORIES Set the prefix used for darwin files, default : /var

-s SUFFIX_DIRECTORIES Set the suffix used for darwin files, default : /darwin

--no-suffix-directories If no suffix wanted for darwin files

Clone this wiki locally