fix(update): make update.sh executable and fix Pulled grep pattern

- Add +x permission to update.sh (was causing systemd 203/EXEC failure)
- Remove $ anchor from grep so trailing space in docker output is matched
- Add .data/ to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 16:19:36 +00:00
parent f231dd5432
commit 6eb603205a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -2,3 +2,4 @@
.env
*.sql
*.log
.data/
+1 -1
View File
@@ -29,7 +29,7 @@ for stack_dir in "$STACKS_DIR"/*/; do
cd "$stack_dir"
pull_output=$(docker compose pull 2>&1 | tee -a "$LOG_FILE")
if echo "$pull_output" | grep -q " Pulled$"; then
if echo "$pull_output" | grep -q " Pulled"; then
log " Updates found — recreating containers"
if docker compose up -d 2>&1 | tee -a "$LOG_FILE"; then
updated+=("$stack")