Index: head/net/nats/Makefile =================================================================== --- head/net/nats/Makefile (revision 421112) +++ head/net/nats/Makefile (revision 421113) @@ -1,23 +1,24 @@ # $FreeBSD$ PORTNAME= nats PORTVERSION= 0.9.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net MAINTAINER= vanilla@FreeBSD.org COMMENT= Messaging system written in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go GO_PKGNAME= github.com/nats-io/gnatsd USE_GITHUB= yes GH_ACCOUNT= nats-io GH_PROJECT= gnatsd PLIST_FILES= bin/gnatsd USE_RC_SUBR= gnatsd.sh .include Index: head/net/nats/files/gnatsd.sh.in =================================================================== --- head/net/nats/files/gnatsd.sh.in (revision 421112) +++ head/net/nats/files/gnatsd.sh.in (revision 421113) @@ -1,29 +1,28 @@ #!/bin/sh # # PROVIDE: gnatsd # REQUIRE: DAEMON # # Add the following lines to /etc/rc.conf to run NATS: # # gnatsd_enable (bool): Set it to "YES" to enable gnatsd server. # Default is "NO". # gnatsd_username: User name to run as. default "nobody" # gnatsd_options: Options to pass gnatsd server # . /etc/rc.subr name="gnatsd" rcvar=`set_rcvar` +load_rc_config ${name} : ${gnatsd_enable="NO"} : ${gnatsd_username="nobody"} : ${gnatsd_options="-m 8222 -s"} command=/usr/sbin/daemon procname=%%PREFIX%%/bin/gnatsd command_args="-u ${gnatsd_username} ${procname} ${gnatsd_options}" - -load_rc_config ${name} run_rc_command "$1" Property changes on: head/net/nats/files/gnatsd.sh.in ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -1 +yes \ No newline at end of property