X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Fzebrasrv-options.xml;h=ff025ae216899e3db00d6e5dc93112ea3bffdb10;hp=9d39d3c92853312f2b274392ddb84bb4aae4d0dd;hb=a5c8c78e8671af863fc61b2ad8b24f92f827f7b2;hpb=c473db9c7ca11d1bbe1d0c980c48f4e470cfde70 diff --git a/doc/zebrasrv-options.xml b/doc/zebrasrv-options.xml index 9d39d3c..ff025ae 100644 --- a/doc/zebrasrv-options.xml +++ b/doc/zebrasrv-options.xml @@ -1,7 +1,8 @@ @@ -23,6 +24,12 @@ current users. The server can only accept a single connection in this mode. + + -1 @@ -44,7 +51,7 @@ -z - Use the Z39.50 protocol (default). This option and -s + Use the &acro.z3950; protocol (default). This option and -s complement each other. You can use both multiple times on the same command line, between listener-specifications (see below). This way, you @@ -69,8 +76,9 @@ -f vconfig - This specifies an XML file that describes - one or more YAZ frontend virtual servers. + This specifies an &acro.xml; file that describes + one or more &yaz; frontend virtual servers. See section VIRTUAL + HOSTS for details. -C @@ -84,6 +92,18 @@ The log level. Use a comma-separated list of members of the set {fatal,debug,warn,log,malloc,all,none}. + + -u uid @@ -108,7 +128,7 @@ Specifies that the server should write its Process ID to file given by pidfile. - A typical location would be /var/run/yaz-ztest.pid. + A typical location would be /var/run/zebrasrv.pid. -i @@ -119,7 +139,13 @@ conjunction with this mode and specify the -l option before any other options. - + + + -D Use this to make the server put itself in the background and @@ -194,7 +220,7 @@ hostname | IP-number [: portnumber] - The port number defaults to 210 (standard Z39.50 port) for + The port number defaults to 210 (standard &acro.z3950; port) for privileged users (root), and 9999 for normal users. The special hostname "@" is mapped to the address INADDR_ANY, which causes the server to listen on any local @@ -202,8 +228,8 @@ The default behavior for zebrasrv - if started - as non-priviledged user - is to establish - a single TCP/IP listener, for the Z39.50 protocol, on port 9999. + as non-privileged user - is to establish + a single TCP/IP listener, for the &acro.z3950; protocol, on port 9999. zebrasrv @ zebrasrv tcp:some.server.name.org:1234 @@ -213,7 +239,7 @@ To start the server listening on the registered port for - Z39.50, or on a filesystem socket, + &acro.z3950;, or on a filesystem socket, and to drop root privileges once the ports are bound, execute the server like this from a root shell: @@ -225,7 +251,12 @@ unix socket /some/file/system/socket is readable and writable for the daemon account. - +