]> git.evergreen-ils.org Git - OpenSRF.git/commit
Handle the common NXDOMAIN problem with Python a bit more gracefully
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Mar 2011 04:34:39 +0000 (04:34 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Mar 2011 04:34:39 +0000 (04:34 +0000)
commit9d7657fb45a9f65f5bcc145b290961b399c9a663
tree31717214a9cc08365fa4550d70eb18a792563789
parent10d52cb1d79486bec2455172b656fac89a931823
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/branches/rel_2_0@2227 9efc2488-bf62-4759-914b-345cdb29e865
bin/osrf_ctl.sh.in
src/python/opensrf.py.in