Skip to content

Commit

Permalink
fix upgrade scripts to set rebootFlag rather than restarting apache
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlineDynamic committed Jan 8, 2025
1 parent 2b48c3c commit 5dd8bb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions upgrade/92/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ BINDIR=$(cd $(dirname $0) && pwd)
a2enmod expires
#copy across new apache conf
cat /opt/fpp/etc/apache2.site >/etc/apache2/sites-enabled/000-default.conf
#restart apache
sudo service apache2 restart
# Set the reboot flag so the config/cmdline changes will be picked up
setSetting rebootFlag 1
5 changes: 3 additions & 2 deletions upgrade/93/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ BINDIR=$(cd $(dirname $0) && pwd)

#copy across new apache conf for mod_status
cat /opt/fpp/etc/apache2.status > /etc/apache2/mods-enabled/status.conf
#restart apache
sudo service apache2 restart

# Set the reboot flag so the config/cmdline changes will be picked up
setSetting rebootFlag 1

0 comments on commit 5dd8bb9

Please sign in to comment.