mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
net/nats-streaming-server: apply rclint fixes.
This commit is contained in:
parent
182b6264a0
commit
3c4f133b6a
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
PORTNAME= nats-streaming-server
|
PORTNAME= nats-streaming-server
|
||||||
PORTVERSION= 0.21.1
|
PORTVERSION= 0.21.1
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
MAINTAINER= olgeni@FreeBSD.org
|
MAINTAINER= olgeni@FreeBSD.org
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#
|
#
|
||||||
# PROVIDE: nats_streaming
|
# PROVIDE: nats_streaming
|
||||||
# REQUIRE: DAEMON
|
# REQUIRE: DAEMON
|
||||||
|
# KEYWORD: shutdown
|
||||||
#
|
#
|
||||||
# Add the following lines to /etc/rc.conf to run the NATS streaming server:
|
# Add the following lines to /etc/rc.conf to run the NATS streaming server:
|
||||||
#
|
#
|
||||||
|
@ -13,12 +14,12 @@
|
||||||
|
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
|
||||||
name="nats_streaming"
|
name=nats_streaming
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
|
|
||||||
load_rc_config ${name}
|
load_rc_config ${name}
|
||||||
: ${nats_streaming_enable="NO"}
|
: ${nats_streaming_enable:=NO}
|
||||||
: ${nats_streaming_username="nobody"}
|
: ${nats_streaming_username:=nobody}
|
||||||
: ${nats_streaming_options="-c %%PREFIX%%/etc/nats_streaming.conf"}
|
: ${nats_streaming_options="-c %%PREFIX%%/etc/nats_streaming.conf"}
|
||||||
|
|
||||||
command=/usr/sbin/daemon
|
command=/usr/sbin/daemon
|
||||||
|
|
Loading…
Add table
Reference in a new issue