#!/bin/ksh # # $OpenBSD: httpd,v 1.7 2019/01/21 01:41:16 claudio Exp $ daemon="/usr/sbin/httpd" . /etc/rc.d/rc.subr # child will not return a config parsing error to the parent rc_pre() { # use rcexec here since daemon_flags may contain arguments with spaces ${rcexec} "${daemon} -n ${daemon_flags}" } rc_cmd $1