aboutsummaryrefslogtreecommitdiff
path: root/net-im/openfire
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2008-04-18 01:58:48 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2008-04-18 01:58:48 +0000
commit02195ddd9f658cf44f733e0bd0cd65b83c249d1f (patch)
tree2c2d1b5d1f24a2b3c6ed07ed163381a4a95546c3 /net-im/openfire
parentece22ff44b55135a8463b0a81a6ad885933f3c91 (diff)
Fix startup script so openfire_javargs are respected.
PR: 122741 Approved by: maintainer
Notes
Notes: svn path=/head/; revision=211484
Diffstat (limited to 'net-im/openfire')
-rw-r--r--net-im/openfire/Makefile2
-rw-r--r--net-im/openfire/files/openfire.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/net-im/openfire/Makefile b/net-im/openfire/Makefile
index 2c9ddfe905e1..2392447cff12 100644
--- a/net-im/openfire/Makefile
+++ b/net-im/openfire/Makefile
@@ -7,7 +7,7 @@
PORTNAME= openfire
PORTVERSION= 3.4.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im java
MASTER_SITES= http://www.igniterealtime.org/downloadServlet?filename=openfire/
DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/./_/g}
diff --git a/net-im/openfire/files/openfire.in b/net-im/openfire/files/openfire.in
index eaba6fbf1fb2..90bfa1ebe969 100644
--- a/net-im/openfire/files/openfire.in
+++ b/net-im/openfire/files/openfire.in
@@ -25,6 +25,8 @@
name="openfire"
rcvar=${name}_enable
+load_rc_config $name
+
# Set defaults
: ${openfire_enable:=NO}
: ${openfire_user:=${name}}
@@ -56,7 +58,6 @@ command_args="-f -p ${pidfile} ${java_command}"
start_precmd="openfire_precmd"
status_cmd="openfire_status"
stop_cmd="openfire_stop"
-load_rc_config $name
openfire_precmd() {
touch ${pidfile}