If an alternate config file is pointed to in osrf_ctl.sh, respect it
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 11 Nov 2010 14:47:12 +0000 (14:47 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 11 Nov 2010 14:47:12 +0000 (14:47 +0000)
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.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2076 9efc2488-bf62-4759-914b-345cdb29e865

bin/osrf_ctl.sh.in

index d6c5483..8e9aaf6 100755 (executable)
@@ -165,7 +165,7 @@ start_python() {
     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;
 }