
In rare cases, the rabbitmq status check may return a status of '2', which is an indication to the OCF script that the rabbitmq-server is not running, but it may be at least partially up. In such a case, SM will see this as a failure of the service when it calls the OCF status check, but will subsequently fail to relaunch the service due to the partial status of the already-running service. To help avoid this, this commit updates the OCF script to: 1. Update the "stop" function to attempt "rabbitmqctl stop" regardless of the "status" result. If the service is partially running, this should tear it down. 2. Update the "start" script to call the "stop" function prior to attempting to launch the service, in case it is partially running. Change-Id: I19842d382dd1ab60b1caade6608f8dbb9257ebbe Closes-Bug: 1896697 Signed-off-by: Don Penney <don.penney@windriver.com>
3 lines
46 B
Plaintext
3 lines
46 B
Plaintext
SRC_DIR="files"
|
|
TIS_PATCH_VER=PKG_GITREVCOUNT
|