Commit ce256b5b authored by Bernd Zeimetz's avatar Bernd Zeimetz

Generate manpage automatically.

parent ca89b33e
.TH CARBON-C-RELAY "1" "April 2015" "carbon-c-relay" "User Commands"
carbon-c-relay \- carbon-compatible graphite line mode relay
.B carbon-c-relay
[\fI\,-vdst\/\fR] \fI\,-f <config> \/\fR[\fI\,-p <port>\/\fR] [\fI\,-w <workers>\/\fR] [\fI\,-b <size>\/\fR] [\fI\,-q <size>\/\fR]
print version and exit
read <config> for clusters and routes
listen on <port> for connections, defaults to 2003
listen on <interface> for connections, defaults to all
write output to <file>, defaults to stdout/stderr
use <workers> worker threads, defaults to 16
server send batch size, defaults to 2500
server queue size, defaults to 25000
statistics sending interval in seconds, defaults to 60
debug mode: currently writes statistics to log
submission mode: write info about errors to log
config test mode: prints rule matches from input on stdin
hostname: override hostname (used in statistics)
\fI/usr/share/doc/carbon-c-relay/\fR includes mode of operation and examples.
......@@ -3,7 +3,7 @@ Section: net
Priority: optional
Maintainer: Filippo Giunchedi <>
Uploaders: Bernd Zeimetz <>
Build-Depends: debhelper (>= 9), dh-systemd, libssl-dev, pkg-config
Build-Depends: debhelper (>= 9), dh-systemd, libssl-dev, pkg-config, help2man
Standards-Version: 3.9.6
X-Python-Version: >= 2.7
#!/usr/bin/make -f
UPSTREAM_VERSION := $(strip $(shell dpkg-parsechangelog| sed -e '/^Version/!d' -e 's,.* ,,;s,-.*,,'))
dh $@ --with systemd
cp relay carbon-c-relay
help2man \
-n 'carbon-compatible graphite line mode relay' \
-s 1 \
-S 'Debian' \
-N ./carbon-c-relay \
--version-string='$(UPSTREAM_VERSION)' |\
sed -e 's,^.B relay,.B carbon-c-relay,' \
-e '/worker threads/s,to [0-9]*,to the number of cpu cores,' > debian/carbon-c-relay.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment