2026-05-19 15:15:05 +02:00
|
|
|
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")
|