1 <?xml version="1.0" encoding="UTF-8"?>
4 <refentrytitle>afpd</refentrytitle>
6 <manvolnum>8</manvolnum>
8 <refmiscinfo class="date">19 Jan 2013</refmiscinfo>
10 <refmiscinfo class="source">@NETATALK_VERSION@</refmiscinfo>
14 <refname>afpd</refname>
16 <refpurpose>Apple Filing Protocol daemon</refpurpose>
21 <command>afpd<indexterm>
22 <primary>afpd</primary>
23 </indexterm></command>
25 <arg choice="opt">-d</arg>
27 <arg choice="opt">-F <replaceable>configfile</replaceable></arg>
31 <command>afpd<indexterm>
32 <primary>afpd</primary>
33 </indexterm></command>
35 <group choice="plain">
36 <arg choice="plain">-v</arg>
37 <arg choice="plain">-V</arg>
38 <arg choice="plain">-h</arg>
45 <title>Description</title>
47 <para><command>afpd</command> provides an Apple Filing Protocol (AFP)
48 interface to the Unix file system. It is normally started at boot time
49 by <command>netatalk</command>(8).</para>
51 <para><filename>@pkgconfdir@/afp.conf</filename> is the configuration file
52 used by <command>afpd</command> to determine the behavior and
53 configuration of a file server.</para>
58 <title>Options</title>
65 <para>Specifies that the daemon should not fork.</para>
74 <para>Print version information and exit.</para>
82 <para>Print verbose information and exit.</para>
90 <para>Print help and exit.</para>
95 <term>-F <replaceable>configfile</replaceable></term>
98 <para>Specifies the configuration file to use. (Defaults to
99 <filename>@pkgconfdir@/afp.conf</filename>.)</para>
107 <title>SIGNALS</title>
109 <para>To shut down a user's <command>afpd</command> process it is
110 recommended that <command>SIGKILL (-9)</command>
111 <emphasis>NOT</emphasis> be used, except as a last resort, as this
112 may leave the CNID database in an inconsistent state. The safe way
113 to terminate an <command>afpd</command> is to send it a
114 <command>SIGTERM (-15)</command> signal and wait for it to die on
116 <para>SIGTERM and SIGUSR1 signals that are sent to the main <command>afpd</command> process
117 are propagated to the children, so all will be affected.</para>
123 <para>Clean exit. Propagates from master to childs.</para>
130 <para>Send this to the master <command>afpd</command>, it will
131 exit leaving all children running! Can be used to implement
132 AFP service without downtime.</para>
139 <para>Sending a <command>SIGHUP</command> to afpd will cause it to
140 reload its configuration files.</para>
147 <para>Sending a <command>SIGINT</command> to a child
148 <command>afpd</command> enables <emphasis>max_debug</emphasis>
149 logging for this process. The log is sent to the file
150 <filename>/tmp/afpd.PID.XXXXXX</filename>. Sending another
151 <command>SIGINT</command> will revert to the original log settings.</para>
158 <para>The <command>afpd</command> process will send the message "The
159 server is going down for maintenance." to the client and shut itself
160 down in 5 minutes. New connections are not allowed. If this is sent
161 to a child afpd, the other children are not affected. However, the
162 main process will still exit, disabling all new connections.</para>
169 <para>The <command>afpd</command> process will look in the message
170 directory configured at build time for a file named message.pid. For
171 each one found, a the contents will be sent as a message to the
172 associated AFP client. The file is removed after the message is
173 sent. This should only be sent to a child
174 <command>afpd</command>.</para>
185 <term><filename>@pkgconfdir@/afp.conf</filename></term>
188 <para>configuration file used by afpd</para>
193 <term><filename>@localstatedir@/netatalk/afp_signature.conf</filename></term>
196 <para>list of server signature</para>
201 <term><filename>@localstatedir@/netatalk/afp_voluuid.conf</filename></term>
204 <para>list of UUID for Time Machine volume</para>
209 <term><filename>@pkgconfdir@/extmap.conf</filename></term>
212 <para>file name extension mapping</para>
217 <term><filename>@pkgconfdir@/msg/message.pid</filename></term>
220 <para>contains messages to be sent to users.</para>
227 <title>SEE ALSO</title>
230 <refentrytitle>netatalk</refentrytitle>
232 <manvolnum>8</manvolnum>
233 </citerefentry>, <citerefentry>
234 <refentrytitle>hosts_access</refentrytitle>
236 <manvolnum>5</manvolnum>
237 </citerefentry>, <citerefentry>
238 <refentrytitle>afp.conf</refentrytitle>
240 <manvolnum>5</manvolnum>
241 </citerefentry>, <citerefentry>
242 <refentrytitle>afp_signature.conf</refentrytitle>
244 <manvolnum>5</manvolnum>
245 </citerefentry>, <citerefentry>
246 <refentrytitle>afp_voluuid.conf</refentrytitle>
248 <manvolnum>5</manvolnum>
249 </citerefentry>, <citerefentry>
250 <refentrytitle>extmap.conf</refentrytitle>
252 <manvolnum>5</manvolnum>
253 </citerefentry>, <citerefentry>
254 <refentrytitle>dbd</refentrytitle>
256 <manvolnum>1</manvolnum>
257 </citerefentry>.</para>