./cjdroute --nobg < /path/to/cjdroute.conf
Comment the router.interface section of the conf and launch it like that. Your node will switch traffic, and peer effectively, though you will not be able to run services.
You have the option of configuring your TUN device manually. It will require root, but once established, cjdroute can otherwise run as an unprivileged user.
This is a little trick that will lint the configuration file (cjdroute.conf
) before starting cjdns.
Will allow comments, note that JSHint is designed for JS and may not display errors and warnings etc. in all cases.
jshint ./cjdroute.conf; if [[ $? == 0 ]]; then ./cjdroute < ./cjdroute.conf; fi
No comments or other JS exclusive object quirks will be allowed.
jsonlint ./cjdroute.conf; if [[ $? == 0 ]]; then ./cjdroute < ./cjdroute.conf; fi