<!--
- $Id: ztest-options.xml,v 1.1 2002-09-16 14:16:31 adam Exp $
+ $Id: ztest-options.xml,v 1.4 2004-01-17 01:20:12 adam Exp $
Options for generic frontend server and yaz-ztest.
Included in both manual and man page for yaz-ztest
-->
<varlistentry><term><literal>-c </literal>
<replaceable>config</replaceable></term>
<listitem><para>A user option that serves as a specifier for some
- sort of configuration, e.g. a filename.
+ sort of configuration, usually a filename.
The argument to this option is transferred to member
<literal>configname</literal>of the
<literal>statserv_options_block</literal>.
daemon (see <literal>-i</literal>).
</para></listitem></varlistentry>
+ <varlistentry><term><literal>-p </literal>
+ <replaceable>pidfile</replaceable></term>
+ <listitem><para>
+ Specifies that the server should write its Process ID to
+ file given by <replaceable>pidfile</replaceable>.
+ A typical location would be <filename>/var/run/yaz-ztest.pid</filename>.
+ </para></listitem></varlistentry>
+
<varlistentry><term><literal>-i</literal></term>
<listitem><para>
Use this to make the the server run from the
<application>inetd</application> server (UNIX only).
</para></listitem></varlistentry>
+ <varlistentry><term><literal>-D</literal></term>
+ <listitem><para>
+ Use this to make the server put itself in the background and
+ run as a daemon. If neither <literal>-i</literal> nor
+ <literal>-D</literal> is given, the server starts in the foreground.
+ </para></listitem></varlistentry>
+
<varlistentry><term><literal>-install</literal></term>
<listitem><para>
Use this to install the server as an NT service
- (Windows 2000/NT only).
+ (Windows NT/2000/XP only).
+ Control the server by going to the Services in the Control Panel.
+ </para></listitem></varlistentry>
+
+ <varlistentry><term><literal>-installa</literal></term>
+ <listitem><para>
+ Use this to install and activate the server as an NT service
+ (Windows NT/2000/XP only).
Control the server by going to the Services in the Control Panel.
</para></listitem></varlistentry>
<varlistentry><term><literal>-remove</literal></term>
<listitem><para>
Use this to remove the server from the NT services
- (Windows 2000/NT only).
+ (Windows NT/2000/XP only).
</para></listitem></varlistentry>
<varlistentry><term><literal>-t </literal>
Maximum record size/message size, in kilobytes.
</para></listitem>
</varlistentry>
+
+ <varlistentry><term><literal>-d </literal>
+ <replaceable>daemon</replaceable></term>
+ <listitem><para>
+ Set name of daemon to be used in hosts access file.
+ See
+ <citerefentry>
+ <refentrytitle>hosts_access</refentrytitle>
+ <manvolnum>5</manvolnum>
+ </citerefentry>
+ and
+ <citerefentry>
+ <refentrytitle>tcpd</refentrytitle>
+ <manvolnum>8</manvolnum>
+ </citerefentry>.
+ </para></listitem>
+ </varlistentry>
</variablelist>