aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2016-08-30 13:28:48 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2016-08-30 13:28:48 +0000
commit49989a55bde56267c7815fdff86021f2059c259c (patch)
tree86b72c3c957ed1155933fa2ccff51fd089ab53ce /net
parenta6bc455d6dd618318f7a03f721d1a8b79aed6546 (diff)
downloadports-49989a55bde56267c7815fdff86021f2059c259c.tar.gz
ports-49989a55bde56267c7815fdff86021f2059c259c.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/nats/Makefile1
-rw-r--r--net/nats/files/gnatsd.sh.in3
2 files changed, 2 insertions, 2 deletions
diff --git a/net/nats/Makefile b/net/nats/Makefile
index 4acd779280b0..7ab5b355e980 100644
--- a/net/nats/Makefile
+++ b/net/nats/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nats
PORTVERSION= 0.9.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= vanilla@FreeBSD.org
diff --git a/net/nats/files/gnatsd.sh.in b/net/nats/files/gnatsd.sh.in
index aefde822e420..41c1c7e34992 100644
--- a/net/nats/files/gnatsd.sh.in
+++ b/net/nats/files/gnatsd.sh.in
@@ -16,6 +16,7 @@
name="gnatsd"
rcvar=`set_rcvar`
+load_rc_config ${name}
: ${gnatsd_enable="NO"}
: ${gnatsd_username="nobody"}
: ${gnatsd_options="-m 8222 -s"}
@@ -24,6 +25,4 @@ command=/usr/sbin/daemon
procname=%%PREFIX%%/bin/gnatsd
command_args="-u ${gnatsd_username} ${procname} ${gnatsd_options}"
-load_rc_config ${name}
-
run_rc_command "$1"