Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2019 20:13:18 +0000 (UTC)
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494186 - head/databases/opentsdb/files
Message-ID:  <201902282013.x1SKDIA9066858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kbowling
Date: Thu Feb 28 20:13:18 2019
New Revision: 494186
URL: https://svnweb.freebsd.org/changeset/ports/494186

Log:
  databases/opentsdb: rc script should allow JVMARGS to be set
  
  PR:		209059
  Approved by:	krion (mentor)
  Sponsored by:	BBOX.io
  Differential Revision:	https://reviews.freebsd.org/D19362

Modified:
  head/databases/opentsdb/files/opentsdb.in

Modified: head/databases/opentsdb/files/opentsdb.in
==============================================================================
--- head/databases/opentsdb/files/opentsdb.in	Thu Feb 28 20:13:08 2019	(r494185)
+++ head/databases/opentsdb/files/opentsdb.in	Thu Feb 28 20:13:18 2019	(r494186)
@@ -18,6 +18,7 @@ load_rc_config "${name}"
 
 : ${opentsdb_enable:=NO}
 : ${opentsdb_user:=opentsdb}
+: ${opentsdb_jvmargs:=-enableassertions -enablesystemassertions}
 : ${opentsdb_opts:=tsd 2> %%OPENTSDB_LOGDIR%%/error.log 1> %%OPENTSDB_LOGDIR%%/tsdb.log}
 
 pidfile="%%OPENTSDB_RUNDIR%%/${name}.pid"
@@ -27,5 +28,6 @@ procname="daemon*"
 command="/usr/sbin/daemon"
 command_args="-P ${pidfile} ${opentsdb_daemon} ${opentsdb_opts}"
 
-run_rc_command "$1"
+export JVMARGS=${opentsdb_jvmargs}
 
+run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902282013.x1SKDIA9066858>