summaryrefslogtreecommitdiff
path: root/etc/rc.d/httpd
blob: 3bfc63c1760269274b1cacc9ee2f84715f798587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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