From 0266fc6fbd3a7a931144274ef3ada8db311f6483 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 6 Jul 2007 20:12:22 +0000 Subject: [PATCH] Added content for EXAMPLES and FILES sections --- doc/pazpar2.xml | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) 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 -- 1.7.10.4