diff --git a/stage-honeypi/01-install-honeypi/00-run.sh b/stage-honeypi/01-install-honeypi/00-run.sh index 6b28303..3c9bcd3 100755 --- a/stage-honeypi/01-install-honeypi/00-run.sh +++ b/stage-honeypi/01-install-honeypi/00-run.sh @@ -132,10 +132,8 @@ run_in_chroot " pip3 install Adafruit_DHT pip3 install Adafruit_Python_DHT pip3 install timezonefinder==6.1.8 numpy -lighttpd-enable-mod fastcgi fastcgi-php " - # Install configuration files echo 'Installing configuration files' install -m 755 files/wvdial.conf "${ROOTFS_DIR}/etc/wvdial.conf" @@ -249,6 +247,11 @@ chown -R www-data:www-data /var/www/html chmod -R 775 /var/www/html " +# Reload Lighttpd to apply changes +echo 'Reloading Lighttpd to apply changes' +run_in_chroot "service lighttpd force-reload || echo 'Lighttpd reload failed, continuing.'" + + # Set folder permissions echo 'Setting folder permissions for /home/pi' run_in_chroot "