From 0b0963234709b713a02afd660465649cb88a6da1 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Fri, 11 Mar 2022 08:22:02 +0100 Subject: 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. --- UIDs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UIDs') 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 -- cgit v1.2.3