#!/bin/sh
#
# $OpenBSD: puppetdb.rc,v 1.6 2017/05/27 19:57:06 ajacoutot Exp $

daemon=$(${LOCALBASE}/bin/javaPathHelper -c puppetdb)
daemon_flags="-cp ${PREFIX}/share/puppetdb/puppetdb.jar clojure.main -m com.puppetlabs.puppetdb.core services -c ${SYSCONFDIR}/puppetdb/conf.d/"
daemon_timeout=120

. /etc/rc.d/rc.subr

rc_bg=YES
rc_reload=NO

rc_cmd $1
