Fix pexp.

Put rc_reload where it belongs.
This commit is contained in:
ajacoutot 2015-07-16 00:43:36 +00:00
parent 7635e691ad
commit 943f1eb601
2 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.18 2015/01/15 18:14:04 landry Exp $
# $OpenBSD: Makefile,v 1.19 2015/07/16 00:43:36 ajacoutot Exp $
SHARED_ONLY = Yes
BROKEN-hppa = execinfo.c:144: warning: unsupported argument to '__builtin_return_address' + Werror
COMMENT = high-performance HTTP accelerator
DISTNAME = varnish-4.0.2
REVISION = 0
CATEGORIES = www
SHARED_LIBS = varnishapi 1.0

View File

@ -1,13 +1,13 @@
#!/bin/sh
#
# $OpenBSD: varnishd.rc,v 1.1 2013/09/23 08:23:16 jasper Exp $
# $OpenBSD: varnishd.rc,v 1.2 2015/07/16 00:43:36 ajacoutot Exp $
daemon="${PREFIX}/sbin/varnishd"
daemon_flags="-f ${SYSCONFDIR}/varnish/default.vcl -u _varnish"
rc_reload=NO
. /etc/rc.d/rc.subr
pexp="varnishd: Varnish-Mgr"
pexp="varnishd: Varnish-Mgr $(hostname)"
rc_reload=NO
rc_cmd $1