set daemon_timeout a reasonble enough value to give this beast time to

shutdown cleanly.
This commit is contained in:
jasper 2014-07-09 14:24:38 +00:00
parent bd5a8990d9
commit 06e3a48bac
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2014/07/09 08:31:51 jasper Exp $
# $OpenBSD: Makefile,v 1.18 2014/07/09 14:24:38 jasper Exp $
COMMENT-main= fast, scalable, and reliable data warehouse for Puppet
COMMENT-plugin= PuppetDB terminus plugin
@ -7,6 +7,7 @@ V= 2.1.0
DISTNAME= puppetdb-$V
PKGNAME-main= ${DISTNAME}
PKGNAME-plugin= puppetdb-terminus-$V
REVISION-main= 0
CATEGORIES= databases
HOMEPAGE= http://docs.puppetlabs.com/puppetdb/latest/

View File

@ -1,9 +1,10 @@
#!/bin/sh
#
# $OpenBSD: puppetdb.rc,v 1.2 2014/05/07 10:59:53 jasper Exp $
# $OpenBSD: puppetdb.rc,v 1.3 2014/07/09 14:24:38 jasper 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/puppetdb.ini"
daemon_timeout=120
. /etc/rc.d/rc.subr