Dirk Mueller
bd8436610b
Fixes to OCF file OBS-URL: https://build.opensuse.org/request/show/228860 OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=39
23 lines
680 B
Diff
23 lines
680 B
Diff
Index: rabbitmq-server-2.8.7/rabbitmq-server.ocf
|
|
===================================================================
|
|
--- rabbitmq-server-2.8.7.orig/rabbitmq-server.ocf
|
|
+++ rabbitmq-server-2.8.7/rabbitmq-server.ocf
|
|
@@ -256,7 +256,7 @@ rabbitmqctl_action() {
|
|
ocf_log debug "RabbitMQ server is running normally"
|
|
return $OCF_SUCCESS
|
|
;;
|
|
- 2)
|
|
+ 1|2)
|
|
ocf_log debug "RabbitMQ server is not running"
|
|
return $OCF_NOT_RUNNING
|
|
;;
|
|
@@ -299,7 +299,7 @@ rabbit_stop() {
|
|
return $OCF_SUCCESS
|
|
fi
|
|
|
|
- $RABBITMQ_CTL stop
|
|
+ rabbitmqctl_action stop
|
|
rc=$?
|
|
|
|
if [ "$rc" != 0 ]; then
|