This commit is contained in:
mike
2026-06-18 00:06:15 +02:00
parent 2d0322465d
commit 1dead1c666
32 changed files with 3332 additions and 65 deletions

13
tour-comfy/start_watcher.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Launch the folder watcher service.
set -e
API_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BASE="$( cd "$API_DIR/.." && pwd )"
# Try to activate venv if it exists, otherwise use system python
if [ -d "$BASE/venv" ]; then
source "$BASE/venv/bin/activate"
fi
cd "$API_DIR"
exec python3 watcher.py