From: Adam Dickmeiss Date: Fri, 6 Jul 2007 20:12:22 +0000 (+0000) Subject: Added content for EXAMPLES and FILES sections X-Git-Tag: PAZPAR2.1.0.2~81 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=0266fc6fbd3a7a931144274ef3ada8db311f6483;p=pazpar2-moved-to-github.git Added content for EXAMPLES and FILES sections --- diff --git a/doc/pazpar2.xml b/doc/pazpar2.xml index b739405..d05ab97 100644 --- a/doc/pazpar2.xml +++ b/doc/pazpar2.xml @@ -8,7 +8,7 @@ %idcommon; ]> - + Pazpar2 @@ -134,11 +134,41 @@ 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 with in + /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 +180,7 @@ - Pazpar2 protocol:. + Pazpar2 protocol: pazpar2_protocol 7