aboutsummaryrefslogtreecommitdiff
path: root/GIDs
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2022-03-11 07:22:02 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2022-03-11 07:22:43 +0000
commit0b0963234709b713a02afd660465649cb88a6da1 (patch)
tree488576481033873cdcacb81b0a703a565c47798d /GIDs
parent9b7b7746fac501b001ff1ced3d27448331fcc72d (diff)
downloadports-0b0963234709b713a02afd660465649cb88a6da1.tar.gz
ports-0b0963234709b713a02afd660465649cb88a6da1.zip
net/nats-server: improve rc.d
- Add nats to UIDs and GIDs - Add extra commands for logrotate and 'lame duck mode'. From the docs: In production we recommend that a server is shut down with "lame duck mode" as a graceful way to slowly evict clients. With large deployments this mitigates the "thundering herd" situation that will place CPU pressure on servers as TLS enabled clients reconnect. After entering lame duck mode, the server will stop accepting new connections, wait for a 10 second grace period, then begin to evict clients over a period of time configurable by the configuration option. This period defaults to 2 minutes.
Diffstat (limited to 'GIDs')
-rw-r--r--GIDs2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIDs b/GIDs
index eebd84687876..18c8f8438f09 100644
--- a/GIDs
+++ b/GIDs
@@ -244,7 +244,7 @@ openvpn:*:301:
netdata:*:302:
onlyoffice:*:303:www
glewlwyd:*:304:
-# free: 305
+nats:*:305:
# free: 306
# free: 307
# free: 308