xref: /openbsd/etc/rc.d/httpd (revision fc61954a)
1#!/bin/sh
2#
3# $OpenBSD: httpd,v 1.5 2016/02/02 17:51:11 sthen Exp $
4
5daemon="/usr/sbin/httpd"
6
7. /etc/rc.d/rc.subr
8
9# child will not return a config parsing error to the parent
10rc_pre() {
11	${daemon} -n ${daemon_flags}
12}
13
14rc_cmd $1
15