#!/bin/ksh
#
# $OpenBSD: dendrite.rc,v 1.1.1.1 2020/09/08 22:32:42 abieber Exp $

daemon="${TRUEPREFIX}/bin/dendrite-monolith-server"
daemon_user="_dendrite"
daemon_flags="-config ${SYSCONFDIR}/dendrite.yaml -http-bind-address 127.0.0.1:8011"

. /etc/rc.d/rc.subr

rc_bg=YES
rc_reload=NO

rc_cmd $1
