[
https://issues.apache.org/jira/browse/QPID-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210864#comment-16210864
]
Alex Rudyy commented on QPID-7910:
----------------------------------
Attached final script version which I am going to commit.
The changes include:
* only current user processes are killed
* waiting for terminated processes is limited to 1hour
> [Java Broker] Improve qpid.stop script
> --------------------------------------
>
> Key: QPID-7910
> URL: https://issues.apache.org/jira/browse/QPID-7910
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Alex Rudyy
> Priority: Minor
> Fix For: qpid-java-broker-7.0.0
>
> Attachments: qpid-stop, qpid-stop
>
>
> Java Broker qpid.stop needs improvements:
> * it currently tries to send SIGTERM and SIGKILL commands twice. It is
> superfluous. Sending event once should be sufficient.
> * we can use {{kill -0}} to verify the process instead of using ps
> * make {{$SLEEP_DELAY}} overridable from command line
> * script should be able to wait until Qpid processes are killed before exiting
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]