#!/bin/sh
#
# $OpenBSD: lighttpd.rc,v 1.3 2015/07/15 14:59:15 ajacoutot Exp $

daemon="/usr/local/sbin/lighttpd"
daemon_flags="-f /etc/lighttpd.conf"

. /etc/rc.d/rc.subr

rc_reload() {
	pkill -INT -xf "${pexp}"
	${rcexec} "${daemon} ${daemon_flags}" >/dev/null
}

rc_cmd $1
