[Opensrf-commits] r1103 - in trunk: bin examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 10 16:50:07 EDT 2007
Author: miker
Date: 2007-10-10 16:38:14 -0400 (Wed, 10 Oct 2007)
New Revision: 1103
Modified:
trunk/bin/osrf_ctl.sh
trunk/examples/opensrf.xml.example
trunk/examples/srfsh.xml.example
Log:
adding -l for localhost support
Modified: trunk/bin/osrf_ctl.sh
===================================================================
--- trunk/bin/osrf_ctl.sh 2007-10-10 20:10:19 UTC (rev 1102)
+++ trunk/bin/osrf_ctl.sh 2007-10-10 20:38:14 UTC (rev 1103)
@@ -41,11 +41,12 @@
# ---------------------------------------------------------------------------
# Load the command line options and set the global vars
# ---------------------------------------------------------------------------
-while getopts "c:a:d:h" flag; do
+while getopts "c:a:d:l:h" flag; do
case $flag in
"a") OPT_ACTION="$OPTARG";;
"c") OPT_CONFIG="$OPTARG";;
"d") OPT_PID_DIR="$OPTARG";;
+ "l") export OSRF_HOSTNAME="localhost";;
"h"|*) usage;;
esac;
done
Modified: trunk/examples/opensrf.xml.example
===================================================================
--- trunk/examples/opensrf.xml.example 2007-10-10 20:10:19 UTC (rev 1102)
+++ trunk/examples/opensrf.xml.example 2007-10-10 20:38:14 UTC (rev 1103)
@@ -175,7 +175,7 @@
<hosts>
- <myhost.mydomain.org>
+ <localhost>
<!-- ^-=-
Must match the fully qualified domain name of the host
on Linux, this is usually the output of "hostname -f"
@@ -200,7 +200,7 @@
</apps>
- </myhost.mydomain.org>
+ </localhost>
</hosts>
Modified: trunk/examples/srfsh.xml.example
===================================================================
--- trunk/examples/srfsh.xml.example 2007-10-10 20:10:19 UTC (rev 1102)
+++ trunk/examples/srfsh.xml.example 2007-10-10 20:38:14 UTC (rev 1103)
@@ -3,7 +3,7 @@
<srfsh>
<router_name>router</router_name>
<domains>
- <domain>127.0.0.1</domain>
+ <domain>localhost</domain>
</domains>
<username>myusername</username>
<passwd>mypassword</passwd>
More information about the opensrf-commits
mailing list