summaryrefslogtreecommitdiff
path: root/etc/rc.d/httpd
blob: e80673156c9c84afb23fda8de96f17d698e2671b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: httpd,v 1.6 2018/01/11 19:52:12 rpe 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