xref: /openbsd/etc/rc.d/httpd (revision 09467b48)
1#!/bin/ksh
2#
3# $OpenBSD: httpd,v 1.7 2019/01/21 01:41:16 claudio Exp $
4
5daemon="/usr/sbin/httpd"
6
7. /etc/rc.d/rc.subr
8
9# child will not return a config parsing error to the parent
10rc_pre() {
11	# use rcexec here since daemon_flags may contain arguments with spaces
12	${rcexec} "${daemon} -n ${daemon_flags}"
13}
14
15rc_cmd $1
16