reworked map notifications so a new map with its infos is forwarded through flask over nginx and that main loops to respond every 5 seconds

This commit is contained in:
jenz
2026-02-22 23:45:00 +01:00
parent a7bde0361a
commit fcf3490693
7 changed files with 86 additions and 46 deletions
@@ -1,5 +1,5 @@
[Unit]
Description=updates map notifications ever 5 minutes
Description=updates map notifications and receives map info through http requests
[Service]
Type=simple
@@ -7,4 +7,4 @@ User=nonroot
Environment=PYTHONUNBUFFERED=1
Environment=PATH=/home/nonroot/stoat_map_notifications/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
WorkingDirectory=/home/nonroot/stoat_map_notifications
ExecStart=/home/nonroot/stoat_map_notifications/main.py
ExecStart=/home/nonroot/stoat_map_notifications/app.py