summaryrefslogtreecommitdiff
path: root/etc/rc.d/httpd
blob: c0e1ca53a73afd6779d3b37be28da5e2bc79e7d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: httpd,v 1.9 2022/08/29 19:14:25 ajacoutot Exp $

daemon="/usr/sbin/httpd"

. /etc/rc.d/rc.subr

rc_configtest() {
	# use rc_exec here since daemon_flags may contain arguments with spaces
	rc_exec "${daemon} -n ${daemon_flags}"
}

rc_cmd $1