Bug 209059

Summary: databases/opentsdb: rc script should allow JVMARGS to be set in rc.conf
Product: Ports & Packages Reporter: Kevin Bowling <kbowling>
Component: Individual Port(s)Assignee: Kevin Bowling <kbowling>
Status: Closed FIXED    
Severity: Affects Only Me CC: w.schwarzenfeld, xmj, xmj
Priority: --- Flags: xmj: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description Kevin Bowling freebsd_committer freebsd_triage 2016-04-26 00:49:40 UTC
The opentsdb rc script calls /usr/local/bin/tsdb which has a variable, JVMARGS, that can be used to set additional JVM arguments.  We should be able to set things like max heap size and GC tuning in rc.conf opentsdb flags.
Comment 1 Johannes Jost Meixner freebsd_committer freebsd_triage 2016-04-26 01:12:00 UTC
Something like this should work in the rc.d script:

: ${opentsdb_jvmargs:=$reasonable_default_here}

combined with an export of JVMARGS=$opentsdb_jvmargs before the run_rc_command.
Comment 2 Johannes Jost Meixner freebsd_committer freebsd_triage 2017-06-05 08:35:43 UTC
Re-assign to maintainer
Comment 3 Walter Schwarzenfeld 2018-02-07 13:49:52 UTC
Any news here?
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-02-28 20:13:45 UTC
A commit references this bug:

Author: kbowling
Date: Thu Feb 28 20:13:18 UTC 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

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