3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Netatalk 2.2
7 .\" Source: Netatalk 2.2
10 .TH "CNID_METAD" "8" "01 Jan 2012" "Netatalk 2.2" "Netatalk 2.2"
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\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]
27 \fBcnid_metad\fR\fB\fR \-v | \-V
31 waits for requests from
33 to start up instances of the
35 daemon\&. It keeps track of the status of a
37 instance once started and will restart it if necessary\&.
39 is normally started at boot time from
41 or equivalent and runs until shutdown\&.
43 needs to be configured with the
49 It is possible to run more than one instance of
51 on the same machine if different values for the interface and/or port are specified with the
58 \fB\-l\fR\fI <loglevel> [\-f <filename>]\fR
60 Specify that any message of a loglevel up to the given
62 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
69 which will in turn use this for its logging setup\&.
71 loglevels: LOG_SEVERE, LOG_ERROR, LOG_WARN, LOG_NOTE, LOG_INFO, LOG_DEBUG, LOG_DEBUG6, LOG_DEBUG7, LOG_DEBUG8, LOG_DEBUG9, LOG_MAXDEBUG
73 \fBExample.\ \&Useful default config\fR
79 \-l log_info \-f /var/log/afpd\&.log
85 \fBExample.\ \&Debugging config\fR
91 \-l log_maxdebug \-f /var/log/afpd\&.log
100 \fBcnid_metad will remain in the foreground and\fR
101 will also leave the standard input, standard output and standard error file descriptors open\&. Useful for debugging\&.
104 \fB\-h\fR\fI hostname\fR
108 as the network interface for requests as opposed to the default
109 \fBlocalhost\fR\&. The network address may be specified either in dotted\-decimal format for IPv4 or in hexadecimal format for IPv6\&.
116 as the port number for reqests\&. Default is 4700\&.
121 Switch to the userid of
123 before serving requests\&. This userid will be inherited by all
125 daemon processes started\&.
128 \fB\-g\fR\fI group\fR
130 Switch to the groupid of
132 before serving requests\&. This groupid will be inherited by all
134 daemon processes started\&. Both
138 must be specified as strings\&.
141 \fB\-s\fR\fI cnid_dbd pathname\fR
144 \fIcnid_dbd pathname\fR
145 as the pathname of the executeable of the
147 daemon\&. The default is
148 \fI:SBINDIR:/cnid_dbd\&.\fR
153 Show version and exit\&.
159 subprocecesses is currently limited to 512\&.
162 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
166 to exit gracefully\&. Since state about and IPC access to the subprocesses is only maintained in memory by
168 this is desired behaviour\&. As soon as
172 processes will transparently reconnect\&.