You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2019/04/04 13:50:09 UTC

[trafficcontrol] branch master updated: Change ats exec check from traffic_cop to traffic_manager. (#3459)

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

mitchell852 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 9a93129  Change ats exec check from traffic_cop to traffic_manager.  (#3459)
9a93129 is described below

commit 9a931291b3351b128286e99599a59c5068b3bc92
Author: Evan Zelkowitz <ev...@comcast.com>
AuthorDate: Thu Apr 4 07:50:03 2019 -0600

    Change ats exec check from traffic_cop to traffic_manager.  (#3459)
    
    * Change ats exec check from traffic_cop to traffic_manager. Traffic_cop is removed in 8x and manager now handles its duties. Manager was always the one to handle traffic_ctl communication though so this should be a valid change
    for 7x as well.
    
    * Also change for restarting service
---
 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 12884ca..e62eb80 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_cop";
+		$running_string = "traffic_manager";
 	}
 	else {
 		$running_string = $pkg_name;
@@ -599,7 +599,7 @@ sub restart_service {
 	}
 	my $running_string = "";
 	if ( $pkg_name eq "trafficserver" ) {
-		$running_string = "traffic_cop";
+		$running_string = "traffic_manager";
 	}
 	if ( $running_string ne "" ) {
 		if ( $pkg_running =~ m/$running_string \(pid  (\d+)\) is running.../ ) {