summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-02-09 16:27:48 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-02-09 16:27:48 +0000
commitf3f1540b333309d4f2f74cb0a9520f7ff0d2d5da (patch)
treea094a805a51e5635119fe1b25f8de79f6ea27529
parent3f2244546b15181c20fef174ec2d6fdd0d192221 (diff)
downloadrabbitmq-server-f3f1540b333309d4f2f74cb0a9520f7ff0d2d5da.tar.gz
http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html:
0 program is running or service is OK 1 program is dead and /var/run pid file exists 2 program is dead and /var/lock lock file exists 3 program is not running
-rw-r--r--packaging/common/rabbitmq-server.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-server.init b/packaging/common/rabbitmq-server.init
index f5f06887..e05cfc1b 100644
--- a/packaging/common/rabbitmq-server.init
+++ b/packaging/common/rabbitmq-server.init
@@ -84,7 +84,7 @@ status_rabbitmq() {
$CONTROL init_status > /dev/null 2>&1
fi
if [ $? != 0 ] ; then
- RETVAL=1
+ RETVAL=3
fi
set -e
}