cjdelisle/cjdns — pull request #86 by kechagia (2012-05-11 20:58:17+00:00)
Title: --daemon and --config-file

this patch does a lot of things:

* introduces --config-file (defaults to /etc/cjdns/cjdroute.conf), and reads configuration from this file instead of stdin
* introduces --log-file (defaults to /var/log/cjdroute.log) to print output to, instead of stdout/stderr
* introduces --daemon mode, to fork into the background like a mature linux daemon
* introduces short config options (e.g. --config-file can be abbreviated with -c)

tested on macos and linux (debian)