From d63293ef119b6dbfeb81f5b5712ba8cc934e0fc0 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:00:45 +0100 Subject: [PATCH] Update postgresus-install.sh --- install/postgresus-install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/postgresus-install.sh b/install/postgresus-install.sh index 4624fd330..bca3cd9f7 100644 --- a/install/postgresus-install.sh +++ b/install/postgresus-install.sh @@ -31,11 +31,10 @@ $STD npm ci $STD npm run build cd /opt/postgresus/backend $STD go mod download -$STD go build -o ../postgresus ./cmd/main.go -cd /opt/postgresus +$STD go build -o /opt/postgresus/postgresus ./cmd/main.go mkdir -p /opt/postgresus/{data,backups,logs} -cp -r frontend/dist /opt/postgresus/ui -cp -r backend/migrations /opt/postgresus/ +cp -r /opt/postgresus/frontend/dist /opt/postgresus/ui +cp -r /opt/postgresus/backend/migrations /opt/postgresus/ chown -R postgres:postgres /opt/postgresus msg_ok "Built Postgresus"