There was an error while loading. Please reload this page.
1 parent db8fb40 commit 9ecf9a6Copy full SHA for 9ecf9a6
support-files/rpm/server-posttrans.sh
@@ -3,7 +3,7 @@ if [ -r %{restart_flag} ] ; then
3
# only restart the server if it was already running
4
if [ -x /usr/bin/systemctl ] ; then
5
/usr/bin/systemctl daemon-reload > /dev/null 2>&1
6
- if [ /usr/bin/systemctl is-active mysql ]; then
+ if /usr/bin/systemctl is-active mysql; then
7
/usr/bin/systemctl restart mysql > /dev/null 2>&1
8
else
9
/usr/bin/systemctl try-restart mariadb.service > /dev/null 2>&1
0 commit comments