diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-17 17:00:23 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-17 17:00:23 +0200 |
| commit | 56b7be608fdbbc4631b34d12e5c1f390eb69d129 (patch) | |
| tree | f22fec97121224d4e8c1c92e34b0b82de3e4ec9e /frontends/Rexfile | |
| parent | a729c671d1bd3c0cd5599ee53eb86d6a90f5d8f7 (diff) | |
update
Diffstat (limited to 'frontends/Rexfile')
| -rw-r--r-- | frontends/Rexfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile index 5194265..53b1036 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -290,6 +290,10 @@ task 'relayd', sub { append_if_no_such_line '/etc/rc.conf.local', 'relayd_flags='; + # Increase daemon login class file descriptor limits for relayd with many TLS certs + run 'doas sed -i "s/:openfiles-max=1024:/:openfiles-max=4096:/; s/:openfiles-cur=1024:/:openfiles-cur=4096:/" /etc/login.conf'; + run 'doas rm -f /etc/login.conf.db && doas cap_mkdb /etc/login.conf'; + file '/etc/relayd.conf', content => template( './etc/relayd.conf.tpl', |
