aboutsummaryrefslogtreecommitdiff
path: root/UIDs
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 /UIDs
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 'UIDs')
-rw-r--r--UIDs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UIDs b/UIDs
index afe7e28a40de..acdac4f39461 100644
--- a/UIDs
+++ b/UIDs
@@ -249,7 +249,7 @@ openvpn:*:301:301::0:0:OpenVPN pseudo-user:/nonexistent:/usr/sbin/nologin
netdata:*:302:302::0:0:NetData Daemon:/var/cache/netdata:/usr/sbin/nologin
onlyoffice:*:303:303::0:0:Onlyoffice pseudo-user:/usr/local/www/onlyoffice/documentserver:/usr/sbin/nologin
glewlwyd:*:304:304::0:0:Glewlwyd SSO server:/nonexistent:/usr/sbin/nologin
-# free: 305
+nats:*:305:305::0:0:NATS Daemon:/nonexistent:/usr/sbin/nologin
# free: 306
# free: 307
# free: 308