#!/bin/ksh
#
# $OpenBSD: h2o.rc,v 1.1.1.1 2019/05/26 12:38:01 sthen Exp $

daemon="/usr/local/bin/h2o -m worker"

. /etc/rc.d/rc.subr

# changing to "-m daemon" ought to allow it to run as a normal daemon,
# but http requests hang in that case
rc_bg=YES
rc_reload=NO

rc_cmd $1
