nncp for Debian
---------------

NNCP documentation is available by running "info nncp" or in
/usr/share/doc/nncp/nncp.html/index.html.

NNCP can be installed in lots of configurations; therefore, it is not
enabled by default in any configuration.

NNCP's default configuration location is /etc/nncp.hjson.

Security hint
-------------

To minimize the chance of key leakage, before starting, you might want to:

cd /etc
mkdir nncp
chown nncp:nncp nncp
chmod 0750 nncp
ln -s nncp/nncp.hjson nncp.hjson

Configuration
-------------

Please follow the instructions in the included NNCP documentation.

If you want to run the NNCP daemon, caller, or toss from systemd, you can find
examples in /usr/share/doc/nncp/examples/*.service.  Copy (decompressing if
needed) whatever you want to /etc/systemd/system.  Edit to suit.  Then:

systemctl daemon-reload
systemctl enable nncp-toss   # or -caller, or -daemon, etc
systemctl start nncp-toss    # or whatever

If you want the NNCP log rotated, you can copy the logrotate example to
/etc/logrotate.d.


 -- John Goerzen <jgoerzen@complete.org>  Sat, 04 Sep 2021 23:03:55 +0000
