diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-05-26 11:22:40 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-05-26 11:22:40 +0300 |
commit | 860e754349646fb8ec8e9231a7fc09a5d4b7c247 (patch) | |
tree | d66c4b8a3c96e8e0d6e6ad9dfb12cdca750eb754 /support-files/rpm | |
parent | 71e1ddda220c2d452351fc6bf240cb0bad6ccf4a (diff) | |
parent | 365cd08345ab759308cfcac663a2a5880c0c33cb (diff) | |
download | mariadb-git-860e754349646fb8ec8e9231a7fc09a5d4b7c247.tar.gz |
Merge 10.5 into 10.6
Diffstat (limited to 'support-files/rpm')
-rw-r--r-- | support-files/rpm/server-posttrans.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/server-posttrans.sh b/support-files/rpm/server-posttrans.sh index 313274c6140..d91ff65e04f 100644 --- a/support-files/rpm/server-posttrans.sh +++ b/support-files/rpm/server-posttrans.sh @@ -3,7 +3,7 @@ if [ -r %{restart_flag} ] ; then # only restart the server if it was already running if [ -x /usr/bin/systemctl ] ; then /usr/bin/systemctl daemon-reload > /dev/null 2>&1 - if [ /usr/bin/systemctl is-active mysql ]; then + if /usr/bin/systemctl is-active mysql; then /usr/bin/systemctl restart mysql > /dev/null 2>&1 else /usr/bin/systemctl try-restart mariadb.service > /dev/null 2>&1 |