Add a small comment to the rc script -- no functionnal change.

This commit is contained in:
ajacoutot 2011-07-08 04:31:57 +00:00
parent 9a58f1dd1a
commit 57106853a4
2 changed files with 5 additions and 2 deletions

View File

@ -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>

View File

@ -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
}