From dcaaf46ef3732fab97adddd1ad5910daee75ab29 Mon Sep 17 00:00:00 2001 From: oliver Date: Fri, 14 Aug 2026 18:26:27 -0300 Subject: [PATCH] update --- app/templates/postgresql.conf | 4 ++++ app/update_sbin | 1 + 2 files changed, 5 insertions(+) create mode 100644 app/templates/postgresql.conf diff --git a/app/templates/postgresql.conf b/app/templates/postgresql.conf new file mode 100644 index 0000000..b52409d --- /dev/null +++ b/app/templates/postgresql.conf @@ -0,0 +1,4 @@ +shared_buffers = 2GB +effective_cache_size = 10GB +effective_io_concurrency = 100 +random_page_cost = 2 diff --git a/app/update_sbin b/app/update_sbin index fde64f0..77e96d7 100755 --- a/app/update_sbin +++ b/app/update_sbin @@ -3,6 +3,7 @@ echo "Running prsync ./sbin" prsync -h "/app/host_vars/hosts" -avz ./sbin/ /4server/sbin/ template templates/.profile /home/4server/.profile +template templates/postgresql.conf /4server/data/postgres/etc/postgresql.conf rex doas rc-service api restart