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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user