fix: освобождать порт 3000 перед запуском shop.service

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-17 13:31:56 +03:00
parent f13ec7f29a
commit d31a63829c
6 changed files with 87 additions and 11 deletions
+1
View File
@@ -35,6 +35,7 @@ fi
if [ -f /etc/systemd/system/shop.service ]; then
systemctl daemon-reload
bash "$SCRIPT_DIR/free-port-3000.sh" 3000 2>/dev/null || true
systemctl restart shop
sleep 2
if curl -sf http://127.0.0.1:3000/health; then