fix: server-update ищет корень репо (в т.ч. /opt/shop/shop10)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-17 13:14:06 +03:00
parent e71bfa35dc
commit 42177555ac
8 changed files with 90 additions and 18 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# Быстрое исправление ECONNREFUSED 127.0.0.1:5432
set -euo pipefail
cd /opt/shop 2>/dev/null || cd "$(dirname "$0")/.."
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/shop-root.sh"
echo "=== Исправление подключения к PostgreSQL ==="