[Opensrf-commits] r2076 - trunk/bin (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 11 09:47:14 EST 2010


Author: dbs
Date: 2010-11-11 09:47:12 -0500 (Thu, 11 Nov 2010)
New Revision: 2076

Modified:
   trunk/bin/osrf_ctl.sh.in
Log:
If an alternate config file is pointed to in osrf_ctl.sh, respect it

In a previous edit, I accidentally removed the config file option
from the start_python command, which would break if anything other
than the configured default config file was specified as an option to
osrf_ctl.sh. This makes opensrf.py once again respect the authority
of osrf_ctl.sh.


Modified: trunk/bin/osrf_ctl.sh.in
===================================================================
--- trunk/bin/osrf_ctl.sh.in	2010-11-11 14:25:02 UTC (rev 2075)
+++ trunk/bin/osrf_ctl.sh.in	2010-11-11 14:47:12 UTC (rev 2076)
@@ -165,7 +165,7 @@
     OPT_LOCAL=""
     [ "$OSRF_HOSTNAME" = "localhost" ] && OPT_LOCAL="-l"
     for service in `opensrf.py -a list_all $OPT_LOCAL`; do
-            opensrf.py -p $OPT_PID_DIR -d -a start -s $service $OPT_LOCAL
+            opensrf.py -p $OPT_PID_DIR -f $OPT_CONFIG -d -a start -s $service $OPT_LOCAL
     done
     return 0;
 }



More information about the opensrf-commits mailing list