Add a small comment to the rc script -- no functionnal change.
This commit is contained in:
parent
9a58f1dd1a
commit
57106853a4
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2011/06/15 11:02:59 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2011/07/08 04:31:57 ajacoutot Exp $
|
||||
|
||||
COMMENT = highly reliable Enterprise Messaging System
|
||||
|
||||
@ -7,6 +7,8 @@ DISTNAME = rabbitmq-server-$V
|
||||
PKGNAME = rabbitmq-$V
|
||||
CATEGORIES = net
|
||||
|
||||
REVISION = 0
|
||||
|
||||
HOMEPAGE = http://www.rabbitmq.com/
|
||||
|
||||
MAINTAINER = Piotr Sikora <piotr.sikora@frickle.com>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: rabbitmq.rc,v 1.2 2011/04/16 13:54:51 ajacoutot Exp $
|
||||
# $OpenBSD: rabbitmq.rc,v 1.3 2011/07/08 04:31:57 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/rabbitmq-server"
|
||||
daemon_flags="-detached"
|
||||
@ -15,6 +15,7 @@ rc_pre() {
|
||||
}
|
||||
|
||||
rc_check() {
|
||||
# return 1 is needed: rabbitmqctl returns a higher error code on failure
|
||||
${TRUEPREFIX}/sbin/rabbitmqctl status || return 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user