View | Details | Raw Unified | Return to bug 217457 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-mgmt/riemann/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	riemann
4
PORTNAME=	riemann
5
PORTVERSION=	0.2.12
5
PORTVERSION=	0.2.12
6
PORTREVISION=	1
6
CATEGORIES=	net-mgmt java
7
CATEGORIES=	net-mgmt java
7
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
8
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
8
9
(-)b/net-mgmt/riemann/files/riemann.in (-9 / +13 lines)
Lines 12-25 Link Here
12
# riemann_enable    (bool):   Set to NO by default.
12
# riemann_enable    (bool):   Set to NO by default.
13
# Set it to YES to enable riemann.
13
# Set it to YES to enable riemann.
14
#
14
#
15
# riemann_config    (string): Optional full path for riemann config file
15
# riemann_config          (string): Optional full path for riemann config file
16
# riemann_user      (user):   Set to riemann by default.
16
# riemann_user            (user):   Set to riemann by default.
17
# riemann_group     (group):  Set to riemann by default.
17
# riemann_group           (group):  Set to riemann by default.
18
# riemann_jarfile   (string): Optional path to a custom jarfile.
18
# riemann_jarfile         (string): Optional path to a custom jarfile.
19
# riemann_java_home (args):   Specify which JVM to use, if not default.
19
# riemann_java_home       (args):   Specify which JVM to use, if not default.
20
# riemann_min_mem   (num):    Minumum JVM heap size, 256m by default.
20
# riemann_java_classpath  (args):   Specify a custom Java ClassPath.
21
# riemann_max_mem   (num):    Maximum JVM heap size, 1g by default.
21
# riemann_min_mem         (num):    Minumum JVM heap size, 256m by default.
22
# riemann_java_opts (args):   Additional JVM properties or arguments.
22
# riemann_max_mem         (num):    Maximum JVM heap size, 1g by default.
23
# riemann_java_opts       (args):   Additional JVM properties or arguments.
24
23
. /etc/rc.subr
25
. /etc/rc.subr
24
26
25
name="riemann"
27
name="riemann"
Lines 35-41 load_rc_config $name Link Here
35
: ${riemann_java_home:="%%JAVA_HOME%%"}
37
: ${riemann_java_home:="%%JAVA_HOME%%"}
36
: ${riemann_min_mem:="256m"}
38
: ${riemann_min_mem:="256m"}
37
: ${riemann_max_mem:="1g"}
39
: ${riemann_max_mem:="1g"}
40
: ${riemann_java_classpath:=${riemann_jarfile}}
38
: ${riemann_java_opts:=" -server \
41
: ${riemann_java_opts:=" -server \
42
	-cp ${riemann_java_classpath} \
39
        -Dapp=${name} \
43
        -Dapp=${name} \
40
        -Xms${riemann_min_mem} \
44
        -Xms${riemann_min_mem} \
41
        -Xmx${riemann_max_mem} \
45
        -Xmx${riemann_max_mem} \
Lines 59-65 command="/usr/sbin/daemon" Link Here
59
command_args="-f -t ${name} -c -r -P ${pidfile} \
63
command_args="-f -t ${name} -c -r -P ${pidfile} \
60
    ${riemann_java_home}/bin/java \
64
    ${riemann_java_home}/bin/java \
61
    ${riemann_java_opts} \
65
    ${riemann_java_opts} \
62
    -jar ${riemann_jarfile} ${riemann_config}"
66
    riemann.bin start ${riemann_config}"
63
required_files="${java_cmd} ${riemann_config}"
67
required_files="${java_cmd} ${riemann_config}"
64
68
65
riemann_prestart()
69
riemann_prestart()

Return to bug 217457