From 61c331213085101f1a1c21c50551a935070b5fef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Wed, 18 Jan 2006 09:06:19 +0000 Subject: [PATCH] Update of configuration possibilities --- org.glite.jp.index/doc/README | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/org.glite.jp.index/doc/README b/org.glite.jp.index/doc/README index 6dd784c..5aaa1e9 100644 --- a/org.glite.jp.index/doc/README +++ b/org.glite.jp.index/doc/README @@ -63,21 +63,39 @@ Installation Configuration ------------- -Currently configuration is done by environment variables (see also -startup script template): +Currently, configuration is done by a combination of command line options, +environment variables (majority of which are substitutional) and +hard-coded options. -GLITE_JPIS_PS - location of JP-PS server (required parameter) - (for example http://umbar.ics.muni.cz:8901) -GLITE_JPIS_PORT - used port (default 8902) +The index server takes the following options: + +./glite-jp-indexd [option] + -d, --debug don't run as daemon, additional diagnostics + -n, --noauth don't check user identity with result owner + -m, --mysql database connect string + -p, --port port to listen + -i, --pidfile file to store master pid + -o, --logfile file to store logs + -GLITE_JPIS_DB - database connection string (default jpis/@localhost:jpis1) +which can be substituted (if both set, command line option has priority) +with env. variables: -GLITE_JPIS_LOGFILE - log file +GLITE_JPIS_DEBUG - if set to "0" don't daemonize (default - deamonize) +GLITE_JPIS_PORT - used port (default 8902) +GLITE_JPIS_DB - database connection string + (default jpis/@localhost:jpis1) +GLITE_JPIS_LOGFILE - log file (default for root /var/log/glite-jp-indexd.log + non-root user ~/glite-jp-indexd.log) +GLITE_JPIS_PIDFILE - pid file (default for root /var/run/glite-jp-indexd.log + non-root user ~/glite-jp-indexd.pid) -GLITE_JPIS_PIDFILE - pid file -GLITE_JPIS_DEBUG - don't daemonize +Parameter which is now configurable only through env. variable is: + +GLITE_JPIS_PS - location of JP-PS server (required parameter) + (for example http://umbar.ics.muni.cz:8901) Other parameters will be configurable in close future. Its current hard-coded values are in org.glite.jp.index/src/conf.[ch] -- 1.8.2.3