Files
pvemanager/.gitignore
markmorado b8c6e52c9a fix(update): host-side watchdog replaces in-container rebuild
Root cause: docker compose down killed the nohup script inside the
container before rebuild could complete — only git pull was visible
(updated VERSION file).

Changes:
- update_host.sh: new host-side watchdog (poll .update_trigger every 3s)
  runs: git pull → docker compose down → build --no-cache app → up -d
  PROJECT_DIR and User are dynamic (set at install time, not hardcoded)
- update_service.py: perform_update() now writes .update_trigger instead
  of running git/docker commands inside the container
- deploy.sh: added install_update_watchdog() + --watchdog CLI option;
  generates /etc/systemd/system/pvemanager-update.service dynamically
  with correct User= and WorkingDirectory= for any install path/user
- .gitignore: ignore .update_trigger and generated systemd/ files
- CHANGELOG, VERSION, WIKI: bump to v1.1.1, document new update flow
2026-03-08 19:02:40 +01:00

72 lines
691 B
Plaintext

```
# Compiled and build artifacts
*.pyc
__pycache__/
*.o
*.obj
dist/
build/
target/
# Dependencies
.venv/
venv/
node_modules/
.mypy_cache/
.pytest_cache/
.gradle/
# Logs and temp files
*.log
*.tmp
*.swp
*.swo
# Update trigger (written by panel, consumed by pvemanager-update.service on host)
.update_trigger
# Generated systemd files (created by deploy.sh when not root)
systemd/
# Environment
.env
.env.local
*.env.*
# Editors
.vscode/
.idea/
# System files
.DS_Store
Thumbs.db
# Coverage
coverage/
htmlcov/
.coverage
# Compressed files
*.zip
*.gz
*.tar
*.tgz
*.bz2
*.xz
*.7z
*.rar
*.zst
*.lz4
*.lzh
*.cab
*.arj
*.rpm
*.deb
*.Z
*.lz
*.lzo
*.tar.gz
*.tar.bz2
*.tar.xz
*.tar.zst
```