Files

5 lines
237 B
Python
Raw Permalink Normal View History

from pathlib import Path
# The PID file path — defined once here to avoid duplication.
# wecker.py writes this file when it starts; api/schema.py reads it to check state.
PID_FILE = str(Path(__file__).parent.absolute() / "wecker.pid")