2003-09-23 17:14:54 +02:00
|
|
|
===========================================================================
|
2005-12-05 21:49:47 +01:00
|
|
|
$NetBSD: MESSAGE,v 1.5 2005/12/05 20:50:23 rillig Exp $
|
2003-09-23 17:14:54 +02:00
|
|
|
|
2005-09-28 16:15:48 +02:00
|
|
|
If you want Canna server to boot automatically,
|
2003-09-23 17:14:54 +02:00
|
|
|
|
2004-10-12 00:14:51 +02:00
|
|
|
1) Copy ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/canna to /etc/rc.d/.
|
2003-09-23 17:14:54 +02:00
|
|
|
2) Add the following line to /etc/rc.conf.
|
|
|
|
|
|
|
|
canna=YES canna_flags="-u ${CANNA_USER}"
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
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).
|
2003-09-23 17:14:54 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
===========================================================================
|