Skip to content

Commit

Permalink
chore(Matomo): put matomo into maintenance mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Anefu committed Jan 3, 2024
1 parent b5f0957 commit 98450d7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ abort() {

./console core:update --yes || abort "upgrade failed"

# Remove database from maintenance mode after upgrade
sed -i '/^maintenance_mode = 1$/d; /^\[Tracker\]$/d; /^record_statistics = 0$/d' init.sh

if ./console site:list; then
echo "site:list exit code was 0. do not create a new site"
else
Expand Down

0 comments on commit 98450d7

Please sign in to comment.