<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [

<!-- Process this file with docbook-to-man to generate an nroff manual
     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
     less'.  A typical entry in a Makefile or Makefile.am is:

cfvversd.1: cfversd.sgml
	docbook-to-man $< > $@

    
	The docbook-to-man binary is found in the docbook-to-man package.
	Please remember that if you create the nroff version in one of the
	debian/rules file targets (such as build), you will need to include
	docbook-to-man in your Build-Depends control field.

  -->

  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
  <!ENTITY dhfirstname "<firstname>Iustin</firstname>">
  <!ENTITY dhsurname   "<surname>Pop</surname>">
  <!-- Please adjust the date whenever revising the manpage. -->
  <!ENTITY dhdate      "<date>October 30, 2005</date>">
  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
       allowed: see man(7), man(1). -->
  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
  <!ENTITY dhemail     "<email>iusty@k1024.org</email>">
  <!ENTITY dhusername  "Iustin Pop">
  <!ENTITY dhucpackage "<refentrytitle>CFVERSD</refentrytitle>">
  <!ENTITY command   "cfversd">

  <!ENTITY cfvers      "<productname>cfvers</productname>">
  <!ENTITY gnu         "<acronym>GNU</acronym>">
  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
]>

<refentry>
  <refentryinfo>
    <address>
      &dhemail;
    </address>
    <author>
      &dhfirstname;
      &dhsurname;
    </author>
    <copyright>
      <year>2003</year>
      <year>2004</year>
      <year>2005</year>
      <holder>&dhusername;</holder>
    </copyright>
    &dhdate;
  </refentryinfo>
  <refmeta>
    &dhucpackage;

    &dhsection;
  </refmeta>
  <refnamediv>
    <refname>&command;</refname>

    <refpurpose>&cfvers; server daemon</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>&command;</command>

      <arg>options</arg>

    </cmdsynopsis>
    <cmdsynopsis>
      <command>&command;</command>

      <arg><option>--help</option></arg>
    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>DESCRIPTION</title>

    <para>This manual page documents briefly the <command>&command;</command> command, version 0.5.4.</para>

    <para>&cfvers; is a version control system designed for the management of configuration files in Unix-like operating systems..</para>
    <para><command>&command;</command> is the server daemon which allows remote clients to access the repository.</para>

  </refsect1>

  <refsect1>
    <title>NOTES</title>
    <para>The server creates the temporary files in the directory pointed by the PYRO_STORAGE environment variable. If this variable does not exist or is empty, it will use the current directory. Please define this variable before starting the server.</para>
  </refsect1>

  <refsect1>
    <title>OPTIONS</title>

    <para>These options follow the usual &gnu; command line syntax,
      with long options starting with two dashes (`-'). &command; has
      two classes of options: global options and command options.</para>

    <variablelist>
      <varlistentry>
        <term><option>-h</option>, <option>--help</option></term>
        <listitem>
          <para>Show summary of options.</para>
        </listitem>
      </varlistentry>

      <!-- Begin options -->

      <varlistentry>
        <term><option>-c, --config</option> <replaceable>FILE</replaceable></term>
        <listitem>
          <para>The configuration file to use which specifies the users allowed, the backend database, etc. See <citerefentry><refentrytitle>cfversd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for the format.</para>
        </listitem>
      </varlistentry>


      <varlistentry>
        <term><option>-p, --pidfile</option> <replaceable>FILE</replaceable></term>
        <listitem>
          <para>The file into which to write the pid of the daemon.</para>
        </listitem>
      </varlistentry>


      <varlistentry>
        <term><option>-P, --port</option> <replaceable>PORT</replaceable></term>
        <listitem>
          <para>The port on which to listen (overrides the one from the config file).</para>
        </listitem>
      </varlistentry>


      <varlistentry>
        <term><option>-f, --foreground</option></term>
        <listitem>
          <para>Don't fork into the background.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-l, --logging</option> <replaceable>FILE</replaceable></term>
        <listitem>
          <para>The file which containts the logging configuration. This is a python logging configuration format. Here you can configure output to files, syslog, email, etc. For details, see http://docs.python.org/lib/logging-config-fileformat.html; an example file is provided in the source distribution.</para>
          <para>A very small file which outputs messages to /var/log/cfversd.log is:</para>
          <screen>
            # Logging configuration file for cfversd and its Pyro instance.

            [loggers]
            keys=root

            [handlers]
            keys=myLogfile

            [formatters]
            keys=myFormatter

            [logger_root]
            level=NOTSET
            handlers=myLogfile

            [handler_myLogfile]
            class=FileHandler
            args=('/var/log/cfversd.log',)
            formatter=myFormatter

            [formatter_myFormatter]
            format=%(asctime)s %(name)s(%(process)d:%(thread)d): ** %(levelname)s ** %(message)s
          </screen>
        </listitem>
      </varlistentry>


    </variablelist>

  </refsect1>

  <refsect1>
    <title>BUGS</title>
    <para>Many! Please notify me if you find any.</para>
  </refsect1>

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

    <para>
      <citerefentry>
	<refentrytitle>cfversd.conf</refentrytitle>
	<manvolnum>5</manvolnum>
      </citerefentry>,
      <citetitle>cfvers user manual</citetitle>
    </para>
    <para>
      <citerefentry>
	<refentrytitle>cvs</refentrytitle>
	<manvolnum>1</manvolnum>
      </citerefentry>,
      <citerefentry>
	<refentrytitle>svn</refentrytitle>
	<manvolnum>1</manvolnum>
      </citerefentry>
    </para>

  </refsect1>
  <refsect1>
    <title>AUTHOR</title>

    <para>This manual page was written by &dhusername; &dhemail; </para>

    <para>The manual pages <citerefentry>
	<refentrytitle>cvs</refentrytitle>
	<manvolnum>1</manvolnum>
      </citerefentry> and <citerefentry>
	<refentrytitle>svn</refentrytitle>
	<manvolnum>1</manvolnum>
      </citerefentry> were used as sources of inspiration (and copy-paste in some cases), since these are real versioning programs :-), with proper man pages.
    </para>

  </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
