MDEV-9354: Debian: unmask the mysql.service on installation
@ -264,6 +264,11 @@ fi
db_stop # in case invoke failes
# If we upgrade from MySQL mysql.service may be masked, which also
# means init.d script is disabled. Unmask mysql service explicitely.
# Ignore exit code as command is not available everywhere.
deb-systemd-helper unmask mysql.service > /dev/null || true
#DEBHELPER#
exit 0
@ -280,6 +280,11 @@ fi