From c85bfeb05cb517581ebaa1467ca492885afaf6b7 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:17:39 +0400 Subject: [PATCH] Update 001-setup-pg_cron.sh Fixing the colon in the postgres config while loading libraries --- init-db/001-setup-pg_cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-db/001-setup-pg_cron.sh b/init-db/001-setup-pg_cron.sh index 1b19da6..5875d59 100755 --- a/init-db/001-setup-pg_cron.sh +++ b/init-db/001-setup-pg_cron.sh @@ -4,7 +4,7 @@ # Remove last line "shared_preload_libraries='citus'" sed -i '$ d' /var/lib/postgresql/data/pgdata/postgresql.conf cat <> /var/lib/postgresql/data/pgdata/postgresql.conf -shared_preload_libraries = 'pg_cron,pg_trgm'; +shared_preload_libraries = 'pg_cron,pg_trgm' cron.database_name = 'givethio' EOT # Required to load pg_cron