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
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;
}