Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix upgrade scripts to set rebootFlag rather than restarting apache #2111

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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