From 7c39d90e98e6211d07c1eba35006212145c81fa1 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Sun, 19 Jan 2025 22:00:28 +0200 Subject: [PATCH] Compile pgbouncer with systemd support --- compute/compute-node.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compute/compute-node.Dockerfile b/compute/compute-node.Dockerfile index a62b392a10..cd32b4dce7 100644 --- a/compute/compute-node.Dockerfile +++ b/compute/compute-node.Dockerfile @@ -1664,6 +1664,7 @@ RUN set -e \ autoconf \ automake \ libevent-dev \ + libsystemd-dev \ libtool \ pkg-config \ && apt clean && rm -rf /var/lib/apt/lists/* @@ -1674,7 +1675,7 @@ RUN set -e \ && git clone --recurse-submodules --depth 1 --branch ${PGBOUNCER_TAG} https://github.com/pgbouncer/pgbouncer.git pgbouncer \ && cd pgbouncer \ && ./autogen.sh \ - && ./configure --prefix=/usr/local/pgbouncer --without-openssl \ + && ./configure --prefix=/usr/local/pgbouncer --with-systemd --without-openssl \ && make -j $(nproc) dist_man_MANS= \ && make install dist_man_MANS=