[OpenSRF-GIT] OpenSRF branch rel_2_3 updated. 14287dc536142b14bc67806b1417b9a4850fa8cc
Evergreen Git
git at git.evergreen-ils.org
Fri Jan 10 14:28:09 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".
The branch, rel_2_3 has been updated
via 14287dc536142b14bc67806b1417b9a4850fa8cc (commit)
from c5ca743810acded29b0dcf9866ea513d5fcffdb9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 14287dc536142b14bc67806b1417b9a4850fa8cc
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu Nov 21 16:37:38 2013 -0500
recover osrf_control router start
With the addition of service verification, which ensures that a service
is meant to run on the requested host, we lost the ability to start the
router by itself, since the router is never explicitly configured to run
anywhere. This patch assumes the router is always a valid service.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/bin/opensrf-perl.pl.in b/bin/opensrf-perl.pl.in
index 9793569..6787d42 100755
--- a/bin/opensrf-perl.pl.in
+++ b/bin/opensrf-perl.pl.in
@@ -102,6 +102,7 @@ my $PY_COMMAND = "opensrf.py -f $opt_config -p $opt_pid_dir ". ($opt_localhost ?
sub verify_services {
my $service = shift;
+ return 1 if $service and $service eq 'router';
my @services = (@perl_services, map {$_->{service}} @nonperl_services);
if (@services) {
return 1 unless $service;
-----------------------------------------------------------------------
Summary of changes:
bin/opensrf-perl.pl.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
OpenSRF
More information about the opensrf-commits
mailing list