fix: set PYTHONPATH in service unit so brewpi modules resolve

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VsJfJngYUpB4dr77GvcEb8
This commit is contained in:
2026-07-01 01:03:51 +02:00
co-authored by Claude Sonnet 4.6
parent ab52c7e599
commit f7d3001ca5
+2 -1
View File
@@ -6,7 +6,8 @@ After=network.target
Type=simple Type=simple
User=jens User=jens
WorkingDirectory=${BREWPI_HOME} WorkingDirectory=${BREWPI_HOME}
ExecStart=${BREWPI_HOME}/.venv/bin/python3 ${BREWPI_HOME}/server/brewpi.py Environment=PYTHONPATH=${BREWPI_HOME}
ExecStart=${BREWPI_HOME}/venv/bin/python3 ${BREWPI_HOME}/server/brewpi.py
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5