Overwrite unit ExecStart with poetry
This commit is contained in:
parent
3390b12263
commit
916d075600
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
User=bot
|
User=bot
|
||||||
WorkingDirectory=/home/bot/workspace/skg-watcher
|
WorkingDirectory=/home/bot/workspace/skg-watcher
|
||||||
Environment=PYTHONPATH=/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
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue