Fix pexp in rc script to correctly detect status

ok/with ajacoutot@
This commit is contained in:
landry 2016-05-15 09:04:09 +00:00
parent 526c785d36
commit 700266a8da
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.33 2016/02/11 12:37:34 landry Exp $
# $OpenBSD: Makefile,v 1.34 2016/05/15 09:04:09 landry Exp $
COMMENT = continuous integration framework
MODPY_EGG_VERSION = 0.8.12
DISTNAME = buildbot-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/p/pl/}
REVISION = 4
REVISION = 5
CATEGORIES = devel

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: buildbot.rc,v 1.3 2015/07/16 00:09:32 ajacoutot Exp $
# $OpenBSD: buildbot.rc,v 1.4 2016/05/15 09:04:09 landry Exp $
daemon="${TRUEPREFIX}/bin/buildbot"
daemon_flags="${HOMEDIR}"
@ -8,7 +8,7 @@ daemon_user="_buildbot"
. /etc/rc.d/rc.subr
pexp="${MODPY_BIN} logfile=twistd.log --python=buildbot.tac"
pexp="${MODPY_BIN} .*logfile=twistd.log --python=buildbot.tac"
rc_start() {
${rcexec} "${daemon} start ${daemon_flags}"