Overwrite unit ExecStart with poetry

This commit is contained in:
Leon Grünewald 2025-06-27 11:10:05 +02:00
parent 3390b12263
commit 916d075600

View file

@ -7,7 +7,7 @@ Type=simple
User=bot
WorkingDirectory=/home/bot/workspace/skg-watcher
Environment=PYTHONPATH=/home/bot/workspace/skg-watcher
ExecStart=/usr/bin/python3 -m skg_watcher.main
ExecStart=/home/bot/.local/share/pipx/venvs/poetry/bin/poetry run python -m skg_watcher.main
Restart=always
RestartSec=10