diff --git a/install.sh b/install.sh index 02cfc43..ec40d9f 100644 --- a/install.sh +++ b/install.sh @@ -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