[
https://issues.apache.org/jira/browse/SCB-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394981#comment-16394981
]
ASF GitHub Bot commented on SCB-392:
------------------------------------
asifdxtreme closed pull request #305: SCB-392 The stop script print error
message
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/305
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/scripts/release/start_scripts/linux/stop-service-center.sh
b/scripts/release/start_scripts/linux/stop-service-center.sh
index 0e27b1f4..094eb9eb 100644
--- a/scripts/release/start_scripts/linux/stop-service-center.sh
+++ b/scripts/release/start_scripts/linux/stop-service-center.sh
@@ -15,4 +15,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-kill -9 $(ps aux | grep 'service-center' | awk '{print $2}')
+ps -o pid,cmd,args ax | grep 'service-center' | grep -v grep | awk '{print
$1}' | xargs kill -9
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> The stop script print error message
> -----------------------------------
>
> Key: SCB-392
> URL: https://issues.apache.org/jira/browse/SCB-392
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Service-Center
> Reporter: little-cui
> Assignee: little-cui
> Priority: Major
> Fix For: service-center-1.0.0-m2
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)