summaryrefslogtreecommitdiff
path: root/etc/rc.d/httpd
blob: 50be23675d549e0137bd9f411cb4bff4f14d493f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# $OpenBSD: httpd,v 1.4 2015/12/19 13:45:12 ajacoutot Exp $

daemon="/usr/sbin/httpd"

. /etc/rc.d/rc.subr

pexp="httpd: parent.*"

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

rc_cmd $1