From 02a5092c3cb2b3d3a9e46cc9bd24e56e9172cd99 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Sun, 3 Dec 2023 20:18:15 -0800 Subject: [PATCH] Fix deb build overwriting config --- utilities/deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/deb.sh b/utilities/deb.sh index b01a9929..4aa8aa78 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"