summaryrefslogtreecommitdiff
path: root/net/nats-server
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/nats-server/Makefile3
-rw-r--r--net/nats-server/distinfo10
-rw-r--r--net/nats-server/files/nats.sh.in8
3 files changed, 13 insertions, 8 deletions
diff --git a/net/nats-server/Makefile b/net/nats-server/Makefile
index 7028e0065261..c13c10bdeee6 100644
--- a/net/nats-server/Makefile
+++ b/net/nats-server/Makefile
@@ -1,7 +1,6 @@
PORTNAME= nats-server
-DISTVERSION= 2.10.23
DISTVERSIONPREFIX= v
-PORTREVISION= 2
+DISTVERSION= 2.11.8
CATEGORIES= net
MAINTAINER= olgeni@FreeBSD.org
diff --git a/net/nats-server/distinfo b/net/nats-server/distinfo
index 032dc1f2ed91..33450ffe2a4f 100644
--- a/net/nats-server/distinfo
+++ b/net/nats-server/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1733900556
-SHA256 (go/net_nats-server/nats-server-v2.10.23/v2.10.23.mod) = 331bfd3027af4ae46819342270a98a4235bb72e977ea225a20045521757db829
-SIZE (go/net_nats-server/nats-server-v2.10.23/v2.10.23.mod) = 391
-SHA256 (go/net_nats-server/nats-server-v2.10.23/v2.10.23.zip) = a12d3cd4acd8f1cabe0acf526c4d60c7b1d172a19206c1e8dba0bbe97b0dac34
-SIZE (go/net_nats-server/nats-server-v2.10.23/v2.10.23.zip) = 2590061
+TIMESTAMP = 1755245723
+SHA256 (go/net_nats-server/nats-server-v2.11.8/v2.11.8.mod) = d2ed94db1820e512d26a2681e293568fff553cb609a278eee7bef6bd6dc28f5a
+SIZE (go/net_nats-server/nats-server-v2.11.8/v2.11.8.mod) = 510
+SHA256 (go/net_nats-server/nats-server-v2.11.8/v2.11.8.zip) = 6e5f7bb40ca72b16b4dbeeab2fd80e61ba5b5b97bd2c3bcdc8289dc99b08a1ab
+SIZE (go/net_nats-server/nats-server-v2.11.8/v2.11.8.zip) = 2873830
diff --git a/net/nats-server/files/nats.sh.in b/net/nats-server/files/nats.sh.in
index f1c4fdc9664d..793ba330e1bc 100644
--- a/net/nats-server/files/nats.sh.in
+++ b/net/nats-server/files/nats.sh.in
@@ -12,6 +12,11 @@
# nats_group: Group name to run as. default "nats"
# nats_options: Options to pass nats server
#
+# This script provides the following extra commands:
+# reload: Reload configuration without restarting
+# logrotate: Reopen log files
+# ldm: Log debug and monitoring
+#
. /etc/rc.subr
@@ -32,9 +37,10 @@ procname=%%PREFIX%%/bin/nats-server
command=/usr/sbin/daemon
command_args="-p ${pidfile} ${procname} ${nats_options}"
-extra_commands="logrotate ldm"
+extra_commands="logrotate ldm reload"
logrotate_cmd="${procname} --signal reopen=${pidfile}"
ldm_cmd="${procname} --signal ldm=${pidfile}"
+reload_cmd="${procname} --signal reload=${pidfile}"
nats_start_precmd()
{