3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.74.3 <http://docbook.sf.net/>
6 .\" Manual: Netatalk 2.1
7 .\" Source: Netatalk 2.1
10 .TH "CNID_METAD" "8" "9 Jun 2009" "Netatalk 2\&.1" "Netatalk 2.1"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 cnid_metad \- start cnid_dbd daemons on request
24 .HP \w'\fBcnid_metad\fR\fB\fR\ 'u
25 \fBcnid_metad\fR\fB\fR [\-l\ \fIloglevel\fR\ [\-f\ \fIfilename\fR]] [\-d] [\-h\ \fIhostname\fR] [\-p\ \fIport\fR] [\-u\ \fIuser\fR] [\-g\ \fIgroup\fR] [\-s\ \fIcnid_dbdpathname\fR]
29 waits for requests from
31 to start up instances of the
33 daemon\&. It keeps track of the status of a
35 instance once started and will restart it if necessary\&.
37 is normally started at boot time from
39 or equivalent and runs until shutdown\&.
41 needs to be configured with the
47 It is possible to run more than one instance of
49 on the same machine if different values for the interface and/or port are specified with the
56 \fB\-l\fR\fI <loglevel> [\-f <filename>]\fR
58 Specify that any message of a loglevel up to the given
60 should be logged to the given file\&. If the filename is ommited the loglevel applies to messages passed to syslog\&. Default is logs to syslog with a default logging setup of
67 which will in turn use this for its logging setup\&.
69 loglevels: LOG_SEVERE, LOG_ERROR, LOG_WARN, LOG_NOTE, LOG_INFO, LOG_DEBUG, LOG_DEBUG6, LOG_DEBUG7, LOG_DEBUG8, LOG_DEBUG9, LOG_MAXDEBUG
71 \fBExample.\ \&Useful default config\fR
77 \-l log_info \-f /var/log/afpd\&.log
83 \fBExample.\ \&Debugging config\fR
89 \-l log_maxdebug \-f /var/log/afpd\&.log
98 \fBcnid_metad will remain in the foreground and\fR
99 will also leave the standard input, standard output and standard error file descriptors open\&. Useful for debugging\&.
102 \fB\-h\fR\fI hostname\fR
106 as the network interface for requests as opposed to the default
114 as the port number for reqests\&. Default is 4700\&.
119 Switch to the userid of
121 before serving requests\&. This userid will be inherited by all
123 daemon processes started\&.
126 \fB\-u\fR\fI group\fR
128 Switch to the groupid of
130 before serving requests\&. This groupid will be inherited by all
132 daemon processes started\&. Both
136 must be specified as strings\&.
139 \fB\-s\fR\fI cnid_dbd pathname\fR
142 \fIcnid_dbd pathname\fR
143 as the pathname of the executeable of the
145 daemon\&. The default is
146 \fI:SBINDIR:/cnid_dbd\&.\fR
152 subprocecesses is currently limited to 512\&.
155 does not block or catch any signals apart from SIGPIPE\&. It will therefore exit on most signals received\&. This will also cause all instances of
159 to exit gracefully\&. Since state about and IPC access to the subprocesses is only maintained in memory by
161 this is desired behaviour\&. As soon as
165 processes will transparently reconnect\&.