xref: /openbsd-src/etc/rc.d/httpd (revision 4b16c051414c735e118926f33401ffdaa60a7396)
19b592919Srpe#!/bin/ksh
27f895920Sreyk#
3*4b16c051Sajacoutot# $OpenBSD: httpd,v 1.9 2022/08/29 19:14:25 ajacoutot Exp $
47f895920Sreyk
57f895920Sreykdaemon="/usr/sbin/httpd"
67f895920Sreyk
77f895920Sreyk. /etc/rc.d/rc.subr
87f895920Sreyk
9*4b16c051Sajacoutotrc_configtest() {
10ed37e5eaSajacoutot	# use rc_exec here since daemon_flags may contain arguments with spaces
11ed37e5eaSajacoutot	rc_exec "${daemon} -n ${daemon_flags}"
1287018548Sajacoutot}
1387018548Sajacoutot
147f895920Sreykrc_cmd $1
15