<?xml version="1.0" encoding="UTF-8"?>
<refentry id="netatalk.8">
  <refmeta>
    <refentrytitle>netatalk</refentrytitle>

    <manvolnum>8</manvolnum>

    <refmiscinfo class="date">13 Jun 2016</refmiscinfo>

    <refmiscinfo class="source">@NETATALK_VERSION@</refmiscinfo>
  </refmeta>

  <refnamediv>
    <refname>netatalk</refname>

    <refpurpose>Netatalk AFP server service controller daemon</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>netatalk</command>

      <arg choice="opt">-F <replaceable>configfile</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis>
      <command>netatalk</command>

      <group choice="plain">
        <arg choice="plain">-v</arg>
        <arg choice="plain">-V</arg>
      </group>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>

    <para><command>netatalk</command> is the service controller daemon
    responsible for starting and restarting the AFP daemon
    <command>afpd</command> and the CNID daemon <command>cnid_metad</command>.
    It is normally started at boot time by init system (BSD-style init,
    SysV-sytle init, systemd, Upstart, OpenRC, SMF and so on).</para>
  </refsect1>

  <refsect1>
    <title>Options</title>

    <variablelist>
      <varlistentry>
        <term>-v | -V</term>

        <listitem>
          <para>Print version information and exit.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>-F <replaceable>configfile</replaceable></term>

        <listitem>
          <para>Specifies the configuration file to use. (Defaults to
          <filename>@pkgconfdir@/afp.conf</filename>.)</para>
        </listitem>
      </varlistentry>

    </variablelist>
  </refsect1>

  <refsect1>
    <title>SIGNALS</title>

    <variablelist>
      <varlistentry>
        <term>SIGTERM</term>

        <listitem>
          <para>Stop Netatalk service, AFP and CNID daemons</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>SIGHUP</term>

        <listitem>
          <para>Sending a <command>SIGHUP</command> will cause the AFP daemon
          reload its configuration file.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>FILES</title>

    <variablelist>
      <varlistentry>
        <term><filename>@pkgconfdir@/afp.conf</filename></term>

        <listitem>
          <para>configuration file used by <command>netatalk</command>(8),
          <command>afpd</command>(8) and <command>cnid_metad</command>(8)
          </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>SEE ALSO</title>

    <para><citerefentry>
        <refentrytitle>afpd</refentrytitle>

        <manvolnum>8</manvolnum>
      </citerefentry>, <citerefentry>
        <refentrytitle>cnid_metad</refentrytitle>

        <manvolnum>8</manvolnum>
      </citerefentry>, <citerefentry>
        <refentrytitle>afp.conf</refentrytitle>

        <manvolnum>5</manvolnum>
      </citerefentry>.</para>
  </refsect1>
</refentry>
