X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fpazpar2.xml;h=16581d30123724a057577b6003ec0c0f24402f37;hb=babdf4ba693f4a79037d8cf8cecc109e9355ec0d;hp=b7394056202afd1e4db0e17c0eb0ad26b1fd42b6;hpb=98e1ff5ebcca708e56e87ed5ff3596cdf9b2ae1a;p=pazpar2-moved-to-github.git diff --git a/doc/pazpar2.xml b/doc/pazpar2.xml index b739405..16581d3 100644 --- a/doc/pazpar2.xml +++ b/doc/pazpar2.xml @@ -8,7 +8,6 @@ %idcommon; ]> - Pazpar2 @@ -30,11 +29,16 @@ + - + + + + + @@ -58,8 +62,8 @@ - Enables dump of XML records. It is useful if stylesheets are - being debugged. + Enables dump of XML records to the current log file. + It is useful if stylesheets are being debugged. @@ -79,6 +83,17 @@ + + + + Specifies the HTTP listener binding address. + The ip + may be a hostname or @ for "any" address. + The port is an integer. + + + + @@ -96,14 +111,21 @@ + - + - Specifies a file or directory with alternative settings. This - overrides the settings element in the main - configuration. + Checks parameters and configuration. No service or daemon is + started. Useful for checking a new configuration before a + Pazpar2 is restarted. + + + In Pazpar2 1.2 and earlier releasese, option -t specified a + local target settings file. + + @@ -113,7 +135,27 @@ Makes the Pazpar2 server change user ID to the uid given. - This, normally, require root privilege. + This, normally, requires root privilege. + + + + + + + + + Shows Pazpar2 version and versions of some of the components that it + is using (ICU and YAZ). Pazpar2 will exit immediately after + displaying the version information (no daemon started). + + + + + + + + + Sets log level (YAZ log level system). @@ -129,16 +171,72 @@ + + + + + This is an option which is only recognized on Windows. It installs + Pazpar2 as a Windows Service. + + + + Pazpar2 only supports Windows Service options if Pazpar2 is + linked against YAZ 3.0.29 or later. + + + + + + + + + + This is an option which is only recognized on Windows. It removes + a Pazpar2 - Windows Service. + + + + EXAMPLES - None yet + The Debian package of pazpar2 starts the server with: + + pazpar2 -D -f /etc/pazpar2/pazpar2.cfg -l /var/log/pazpar2.log -p /var/run/pazpar2.pid -u nobody + + (one line). + + + This will put pazpar2 in the background (-D), read config from from + /etc/pazpar2/pazpar2.cfg, log messages to + /var/log/pazpar2.log, create PID file + /var/run/pazpar2.pid. When the daemon is properly + started, the server will change effective user ID to nobody. + + + The server can be terminated with: + + kill `cat /var/run/pazpar2.pid` + + + + If Pazpar2 is to be debugged using GDB, we use option -X: + + cd pazpar2/src + gdb ./pazpar2 + (gdb) run -X -f ../etc/pazpar2.cfg + + FILES - + /usr/sbin/pazpar2: pazpar2 daemon + + /usr/share/pazpar2: pazpar2 shared files + + /etc/pazpar2: pazpar2 config area SEE ALSO @@ -150,7 +248,7 @@ - Pazpar2 protocol:. + Pazpar2 protocol: pazpar2_protocol 7