diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-04 22:30:06 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-04 22:30:06 -0500 |
commit | 52e82728c1275ec7de57aa5b1dd3b3740fd2b264 (patch) | |
tree | c78cd84bb33a7216d760bb564a4aa61b9a21badf /scripts | |
parent | 2c9845db4bc00221bc3c2343a020208f7f532166 (diff) | |
download | infrastructure-52e82728c1275ec7de57aa5b1dd3b3740fd2b264.tar.gz |
misc fixes
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/hostclass/smtp_server/10-rspamd | 3 | ||||
-rw-r--r-- | scripts/os/freebsd/10-sysctls | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/hostclass/smtp_server/10-rspamd b/scripts/hostclass/smtp_server/10-rspamd index 215788b..4cc66c6 100644 --- a/scripts/hostclass/smtp_server/10-rspamd +++ b/scripts/hostclass/smtp_server/10-rspamd @@ -29,7 +29,8 @@ pkg install -y \ postfix \ redis \ rspamd \ - nginx + nginx \ + ca_root_nss # Create ZFS dataset for Redis DBs. create_dataset -o "mountpoint=${redis_data_dir}" "${state_dataset}/redis" diff --git a/scripts/os/freebsd/10-sysctls b/scripts/os/freebsd/10-sysctls index b07a46c..1f5d70f 100644 --- a/scripts/os/freebsd/10-sysctls +++ b/scripts/os/freebsd/10-sysctls @@ -34,7 +34,7 @@ set_sysctl \ net.inet.tcp.msl=2500 \ net.inet.tcp.mssdflt=1448 \ net.inet.tcp.nolocaltimewait=1 \ - net.inet.tcp.path_mtu_discovery=0 \ + net.inet.tcp.path_mtu_discovery=1 \ net.inet.tcp.recvbuf_max="$tcp_buffer_size" \ net.inet.tcp.recvspace=65536 \ net.inet.tcp.sendbuf_inc=65536 \ @@ -70,8 +70,8 @@ if [ "$BOXCONF_VIRTUALIZATION_TYPE" != jail ]; then security.bsd.see_other_gids="$see_other_uids" \ security.bsd.see_other_uids="$see_other_uids" \ security.bsd.unprivileged_read_msgbuf=0 \ - vfs.nfsd.enable_locallocks=0 \ - vfs.nfsd.issue_delegations=1 \ + vfs.nfsd.enable_locallocks=1 \ + vfs.nfsd.issue_delegations=0 \ vfs.zfs.min_auto_ashift=12 # FreeBSD automatically scales kern.maxfilesperproc with the amount of memory. |