@@ -16,8 +16,8 @@ MYCODO_MAJOR_VERSION="8"
1616# Dependency versions/URLs
1717PIGPIO_URL=" https://github.com/joan2937/pigpio/archive/v79.tar.gz"
1818MCB2835_URL=" http://www.airspayce.com/mikem/bcm2835/bcm2835-1.50.tar.gz"
19- WIRINGPI_URL_ARMHF=" https://github.com/WiringPi/WiringPi/releases/download/2.61-1/wiringpi- 3.10-armhf .deb"
20- WIRINGPI_URL_ARM64=" https://github.com/WiringPi/WiringPi/releases/download/2.61-1/wiringpi- 3.10-arm64 .deb"
19+ WIRINGPI_URL_ARMHF=" https://github.com/WiringPi/WiringPi/releases/download/3.10/wiringpi_3.10_armhf .deb"
20+ WIRINGPI_URL_ARM64=" https://github.com/WiringPi/WiringPi/releases/download/3.10/wiringpi_3.10_arm64 .deb"
2121
2222INFLUXDB1_VERSION=" 1.8.10"
2323
@@ -691,20 +691,21 @@ case "${1:-''}" in
691691 sleep 5
692692 printf " #### Reloading mycodoflask\n"
693693 service mycodoflask reload
694+ sleep 5
694695 ;;
695696 ' web-server-disable' )
696- printf " \n#### Disabling service for nginx web server \n"
697+ printf " \n#### Disabling services for fronted \n"
697698 systemctl disable mycodoflask.service
698699 rm -rf /etc/systemd/system/mycodoflask.service
699700 ;;
700701 ' web-server-enable' )
701- printf " \n#### Enabling service for nginx web server \n"
702+ printf " \n#### Enabling services for fronted \n"
702703 ln -sf " ${MYCODO_PATH} " /install/mycodoflask_nginx.conf /etc/nginx/sites-enabled/default
703704 systemctl enable nginx
704705 systemctl enable " ${MYCODO_PATH} " /install/mycodoflask.service
705706 ;;
706707 ' web-server-update' )
707- printf " \n#### Installing and configuring nginx web server \n"
708+ printf " \n#### Reconfiguring fronted \n"
708709 /bin/bash " ${MYCODO_PATH} " /mycodo/scripts/upgrade_commands.sh web-server-disable
709710 /bin/bash " ${MYCODO_PATH} " /mycodo/scripts/upgrade_commands.sh web-server-enable
710711 ;;
0 commit comments