This is an automated email from the ASF dual-hosted git repository.

rawlin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 36c0e0e  fixes trafficserver status check (#3730)
36c0e0e is described below

commit 36c0e0e1499acdd76017f25d58bc80d4af3150ca
Author: Derek Gelinas <[email protected]>
AuthorDate: Tue Jul 16 17:53:05 2019 -0400

    fixes trafficserver status check (#3730)
---
 traffic_ops/bin/traffic_ops_ort.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traffic_ops/bin/traffic_ops_ort.pl 
b/traffic_ops/bin/traffic_ops_ort.pl
index fdccce0..4bcc5df 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -504,7 +504,7 @@ sub start_service {
        }
        my $running_string = "";
        if ( $pkg_name eq "trafficserver" ) {
-               $running_string = "traffic_manager";
+               $running_string = "traffic_manager|traffic_cop";
        }
        else {
                $running_string = $pkg_name;
@@ -599,7 +599,7 @@ sub restart_service {
        }
        my $running_string = "";
        if ( $pkg_name eq "trafficserver" ) {
-               $running_string = "traffic_manager";
+               $running_string = "traffic_manager|traffic_cop";
        }
        if ( $running_string ne "" ) {
                if ( $pkg_running =~ m/$running_string \(pid  (\d+)\) is 
running.../ ) {

Reply via email to