You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ra...@apache.org on 2019/07/16 21:53:11 UTC
[trafficcontrol] branch master updated: fixes trafficserver status
check (#3730)
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 <de...@cable.comcast.com>
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.../ ) {