pkgsrc/inputmethod/canna-server/MESSAGE
reed 62071c8b2f RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relative directory
under ${PREFIX} instead of being an absolute path.

So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}.

This should have no changes to use before.

Please note that the MESSAGE files in most cases are wrong in the
first place. We have automated mechanisms and could have an automated
message for explaining rc.d script usage. (This is something to do!)
2004-10-11 22:14:51 +00:00

20 lines
821 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:52 reed Exp $
If you want Canna server to boot automatically,
1) Copy ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/canna to /etc/rc.d/.
2) Add the following line to /etc/rc.conf.
canna=YES canna_flags="-u ${CANNA_USER}"
canna_flags="-u ${CANNA_USER}" is not required, but recommended. Note that our
Canna package no longer uses setuid(2) to make the server run as user
"${CANNA_USER}", owing to the implementation of "-u" option (3.6 and above). See
cannaserver(1M).
Also note that by default cannaserver(1M) no longer allows connections
through tcp port 5680. You need to explicitly specify the port by the
"-inet" option.
===========================================================================