more fixing for unit
This commit is contained in:
parent
f4572a1dd7
commit
e564898be6
|
@ -1,2 +1,3 @@
|
||||||
.venv
|
.venv
|
||||||
src/.env
|
src/.env
|
||||||
|
.env
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue