We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa8e74 commit fd953b4Copy full SHA for fd953b4
root/etc/services.d/postgresql/run
@@ -24,6 +24,11 @@ if [ ! -f "$PGDATA/PG_VERSION" ]; then
24
# Listen on all interfaces
25
echo "listen_addresses = '*'" >> "$PGDATA/postgresql.conf"
26
27
+ # Add shared_preload_libraries if specified (required for extensions like vchord)
28
+ if [ -n "$POSTGRES_SHARED_PRELOAD_LIBRARIES" ]; then
29
+ echo "shared_preload_libraries = '$POSTGRES_SHARED_PRELOAD_LIBRARIES'" >> "$PGDATA/postgresql.conf"
30
+ fi
31
+
32
# Start temporarily to create user/database and run init scripts
33
/usr/local/bin/s6-setuidgid bsd /usr/local/bin/pg_ctl -D "$PGDATA" -w start
34
0 commit comments