svn commit: r494186 - head/databases/opentsdb/files

Kevin Bowling kbowling at FreeBSD.org
Thu Feb 28 20:13:21 UTC 2019


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"


More information about the svn-ports-head mailing list