Update install.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-05-30 04:46:47 +00:00
parent 85b78a03c7
commit 703f12bc8a
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,6 @@ Description=Python APRS WX1
After=network.target
[Service]
#ExecStartPre=/bin/sleep 30
ExecStart=/usr/bin/python3 /opt/python-wx/wx1.py
WorkingDirectory=/opt/python-wx/
Restart=on-failure
@ -62,6 +61,7 @@ login = f"user {callsign} pass {password} vers emq-TE1 Python APRS WX 1.4"
mlogin = f"{api_key}"
mid = f"{map_id}"
time.sleep(30)
while True:
try:
# Get weather data from OpenWeatherMap API