1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="cnid_metad.8">
4 <refentrytitle>cnid_metad</refentrytitle>
6 <manvolnum>8</manvolnum>
8 <refmiscinfo class="date">23 Mar 2012</refmiscinfo>
10 <refmiscinfo class="source">:NETATALK_VERSION:</refmiscinfo>
14 <refname>cnid_metad</refname>
16 <refpurpose>start cnid_dbd daemons on request</refpurpose>
21 <command>cnid_metad<indexterm>
22 <primary>cnid_metad</primary>
23 </indexterm></command>
25 <arg choice="opt">-d</arg>
27 <arg choice="opt"><arg choice="plain">-F </arg><arg
28 choice="plain"><replaceable>configuration file</replaceable></arg></arg>
32 <command>cnid_metad<indexterm>
33 <primary>cnid_metad</primary>
34 </indexterm></command>
36 <group choice="plain">
37 <arg choice="plain">-v</arg>
38 <arg choice="plain">-V</arg>
44 <title>DESCRIPTION</title>
46 <para><command>cnid_metad</command> waits for requests from <emphasis
47 remap="B">afpd</emphasis> to start up instances of the <emphasis
48 remap="B">cnid_dbd</emphasis> daemon. It keeps track of the status of a
49 <emphasis remap="B">cnid_dbd</emphasis> instance once started and will
50 restart it if necessary. <command>cnid_metad</command> is normally started
51 at boot time by <command>netatalk</command>(8) and runs
52 until shutdown.</para>
56 <title>OPTIONS</title>
58 <variablelist remap="TP">
61 <term><option>-d</option></term>
64 <para><emphasis remap="B">cnid_metad will remain in the foreground
65 and</emphasis> will also leave the standard input, standard output
66 and standard error file descriptors open. Useful for
72 <term><option>-F</option> <replaceable>configuration file</replaceable></term>
75 <para>Use <emphasis remap="I">configuration file</emphasis> as the
76 configuration file. The default is
77 <emphasis remap="I">:ETCDIR:/afp.conf</emphasis>.</para>
82 <term><option>-v, -V</option></term>
85 <para>Show version and exit.</para>
92 <title>CAVEATS</title>
94 <para><command>cnid_metad</command> does not block or catch any signals
95 apart from SIGPIPE. It will therefore exit on most signals received. This
96 will also cause all instances of <emphasis remap="B">cnid_dbd's</emphasis>
97 started by that <command>cnid_metad</command> to exit gracefully. Since
98 state about and IPC access to the subprocesses is only maintained in
99 memory by <command>cnid_metad</command> this is desired behaviour. As soon
100 as <command>cnid_metad</command> is restarted <emphasis
101 remap="B">afpd</emphasis> processes will transparently reconnect.</para>
105 <title>SEE ALSO</title>
108 <refentrytitle>netatalk</refentrytitle>
110 <manvolnum>8</manvolnum>
111 </citerefentry>, <citerefentry>
112 <refentrytitle>cnid_dbd</refentrytitle>
114 <manvolnum>8</manvolnum>
115 </citerefentry>, <citerefentry>
116 <refentrytitle>afpd</refentrytitle>
118 <manvolnum>8</manvolnum>
119 </citerefentry>, <citerefentry>
120 <refentrytitle>dbd</refentrytitle>
122 <manvolnum>1</manvolnum>
123 </citerefentry>, <citerefentry>
124 <refentrytitle>afp.conf</refentrytitle>
126 <manvolnum>5</manvolnum>
127 </citerefentry></para>