Handle the common NXDOMAIN problem with Python a bit more gracefully
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Mar 2011 04:31:28 +0000 (04:31 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Mar 2011 04:31:28 +0000 (04:31 +0000)
commit014c44a4572c5c66cfba151d1a9887e05361a3db
tree4f5d995b4d25cb8c14f771b2ada35d35609a5cc1
parent522e1099266741004fb099e6db486d5237ed3afc
Handle the common NXDOMAIN problem with Python a bit more gracefully

Rather than dumping a nasty full stacktrace to the command line, we
print a hopefully helpful pointer to the actual problem in plain
English.

Also, rather than stopping everything if a "stop_all" command was
issued, skip the error status in osrf_ctl.sh for the Python bit
and carry on shutting down the other services. A bit more convenient
if you want to have Python enabled but don't necessarily need it
running.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2226 9efc2488-bf62-4759-914b-345cdb29e865
bin/osrf_ctl.sh.in
src/python/opensrf.py.in