From a9e0a1f0a2dcb18a8739417a1908cac89a5bfe96 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 15 Dec 2025 11:34:29 +0100 Subject: [PATCH] Update postgresus-install.sh --- install/postgresus-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/postgresus-install.sh b/install/postgresus-install.sh index 4de9b8208..401ae160a 100644 --- a/install/postgresus-install.sh +++ b/install/postgresus-install.sh @@ -32,7 +32,7 @@ $STD npm run build cd /opt/postgresus/backend $STD go mod tidy $STD go mod download -CGO_ENABLED=0 go build -o postgresus . +$STD env CGO_ENABLED=0 go build -o /opt/postgresus/postgresus ./cmd/main.go mkdir -p /opt/postgresus/{data,backups,logs} cp -r /opt/postgresus/frontend/dist /opt/postgresus/ui cp -r /opt/postgresus/backend/migrations /opt/postgresus/