10 lines
251 B
Bash
Executable File
10 lines
251 B
Bash
Executable File
#!/bin/bash
|
|
# Launch the folder watcher service.
|
|
set -e
|
|
# env.sh resolves API_DIR/VENV (and keeps the venv off NTFS).
|
|
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/env.sh"
|
|
source "$VENV/bin/activate"
|
|
cd "$API_DIR"
|
|
|
|
exec python3 watcher.py
|