more fixing for unit
This commit is contained in:
parent
f4572a1dd7
commit
e564898be6
|
@ -1,2 +1,3 @@
|
|||
.venv
|
||||
src/.env
|
||||
.env
|
||||
|
|
|
@ -7,7 +7,7 @@ Type=simple
|
|||
User=cse-webhook
|
||||
Group=cse-webhook
|
||||
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
|
||||
StandardError=syslog
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import re
|
|||
from bs4 import BeautifulSoup
|
||||
import dotenv
|
||||
|
||||
CONFIG = dotenv.dotenv_values(".env")
|
||||
CONFIG = dotenv.dotenv_values("/srv/cse-webhook-watcher/.env")
|
||||
|
||||
|
||||
def read_known() -> list:
|
||||
|
|
Loading…
Reference in New Issue