Skip to content

Commit

Permalink
PS-9129 Deb12 service is not running after non-pro to pro update
Browse files Browse the repository at this point in the history
  • Loading branch information
adivinho committed Mar 20, 2024
1 parent e230a54 commit f65a350
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 f65a350

Please sign in to comment.