From: Lebbeous Fogle-Weekley Date: Thu, 30 Jan 2014 23:32:24 +0000 (-0500) Subject: When doing router-specific things, we don't need as much configuration loaded X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=618b0a4fa670ad9394e7e9d8ee690c62e7953304;p=working%2FOpenSRF.git When doing router-specific things, we don't need as much configuration loaded Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/bin/opensrf-perl.pl.in b/bin/opensrf-perl.pl.in index 6787d42..294288a 100755 --- a/bin/opensrf-perl.pl.in +++ b/bin/opensrf-perl.pl.in @@ -714,13 +714,13 @@ exit; # we do not verify services for stop/signal actions, since those may # legitimately be used against services not (or no longer) configured # to run on the selected host. -do_init() and verify_services($opt_service) if - $opt_start or +do_init() and verify_services($opt_service) if + ($opt_start or $opt_start_all or $opt_start_services or $opt_restart or $opt_restart_all or - $opt_restart_services; + $opt_restart_services) and $opt_service ne 'router'; # starting services. do_init() handled above do_start($opt_service) if $opt_start;