From e58d69f3deb7516aa02cb439d95460e866c37c53 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Sun, 3 Dec 2023 20:27:44 -0800 Subject: [PATCH] Fix deb build overwriting config (#651) --- utilities/deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/deb.sh b/utilities/deb.sh index b01a992..4aa8aa7 100644 --- a/utilities/deb.sh +++ b/utilities/deb.sh @@ -22,7 +22,7 @@ mkdir -p "$deb_dir/etc/systemd/system" cp target/release/pgcat "$deb_dir/usr/bin/pgcat" chmod +x "$deb_dir/usr/bin/pgcat" -cp pgcat.toml "$deb_dir/etc/pgcat.toml" +cp pgcat.toml "$deb_dir/etc/pgcat.example.toml" cp pgcat.service "$deb_dir/etc/systemd/system/pgcat.service" (cat control | envsubst) > "$deb_dir/DEBIAN/control"