more fixing for unit

This commit is contained in:
Christoph J. Scherr 2023-05-09 23:02:17 +02:00
parent f4572a1dd7
commit e564898be6
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.venv .venv
src/.env src/.env
.env

View File

@ -7,7 +7,7 @@ Type=simple
User=cse-webhook User=cse-webhook
Group=cse-webhook Group=cse-webhook
WorkingDirectory=/srv/cse-webhook-watcher WorkingDirectory=/srv/cse-webhook-watcher
ExecStart=/srv/cse-webhook-watcher/.venv/bin/python3 /srv/cse-webhook-watcher/src/main.py ExecStart=/srv/cse-webhook-watcher/.venv/bin/python3 -u /srv/cse-webhook-watcher/src/main.py
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog

View File

@ -8,7 +8,7 @@ import re
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
import dotenv import dotenv
CONFIG = dotenv.dotenv_values(".env") CONFIG = dotenv.dotenv_values("/srv/cse-webhook-watcher/.env")
def read_known() -> list: def read_known() -> list: