#!/bin/sh
#
# $OpenBSD: httpd,v 1.5 2016/02/02 17:51:11 sthen Exp $

daemon="/usr/sbin/httpd"

. /etc/rc.d/rc.subr

# child will not return a config parsing error to the parent
rc_pre() {
	${daemon} -n ${daemon_flags}
}

rc_cmd $1
