Skip to content

Commit

Permalink
Merge pull request #5266 from Percona-Lab/8.0
Browse files Browse the repository at this point in the history
PS-9129 Deb12 service is not running after non-pro to pro update
  • Loading branch information
adivinho authored Mar 20, 2024
2 parents cff6f3d + f65a350 commit 300c27b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build-ps/debian/percona-server-server.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ EOF
set +e

else
chmod +x /etc/init.d/mysql || true
# If the existing config file is a proper file, we back it up
if [ -f "/etc/mysql/my.cnf" ] && [ ! -L "/etc/mysql/my.cnf" ]; then
cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak
Expand All @@ -184,7 +183,7 @@ EOF
fi
update-alternatives --force --install /etc/mysql/my.cnf my.cnf "/etc/mysql/mysql.cnf" 300
fi

chmod +x /etc/init.d/mysql || true
;;

abort-upgrade|abort-remove|abort-configure)
Expand Down

0 comments on commit 300c27b

Please sign in to comment.