Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

CIF Router Manpage

Wes edited this page Oct 26, 2015 · 7 revisions

Name

cif-router

Synopsis

cif-router [options] [status|start|stop|restart|reload]

$ cif-router -C /etc/cif/cif-router.conf
$ cif-router -D start -C /etc/cif/cif-router.conf -p /var/run/cif-router.pid

Description

cif-router provides the broker mechanism between the client/web framework (cif, apache2, cif-starman) and the elastic search backend. It also is responsible for seed raw messages into the cif-worker pipeline and returning results to the client.

Options

Options:
   -F,  --frontend=STRING   specify the frontend binding, default: tcp://*:4961
   -B,  --backend=STRING    specify the backend binding, default: tcp://*:4962
   -C,  --config=FILE       specify cofiguration file, default: /etc/cif/cif-router.conf
   -d,  --debug             turn on debugging (max verbosity)
   -v+, --verbosity         turn up verbosity
   -h,  --help              this message
   
Daemon Options:
   -D, --daemon            run as daemon
   -u, --user              run daemon as user, default: cif
   -g, --group             run daemon as group, default: cif
   -p, --pid               pidfile location, default: /var/run/cif-router.pid
   --logging               turn on logging [to file]
   --logfile               logfile location, default: /var/log/cif-router.log
   
Notification Options:
   --notify:               turn on notification, default: off.
   --notify-to:            default: root@localhost
   --notify-from:          default: cif
   --notify-subj:          default: [cif-router] ERROR
   --notify-level:         default: error
   
Advanced Options:
   -A, --auth              specify authorization plugin, default: dummy

Storage:
   -s, --storage           default: elasticsearch
   --storage-host          default: localhost:9200

Files

/etc/cif/cif-router.conf

Clone this wiki locally