1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

MCOL-4120: change pgrep to look for mariadbd instead of mysqld

This commit is contained in:
benthompson15 2020-06-30 15:06:32 -05:00
parent 619f99f374
commit 03338525b7
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ else
fi
if [ $rpmmode = erase ]; then
if [ ! -z "$(pgrep -x mysqld)" ];then
if [ ! -z "$(pgrep -x mariadbd)" ];then
systemctl cat mariadb.service > /dev/null 2>&1
if [ $? -eq 0 ] && [ $(running_systemd) -eq 0 ]; then
systemctl restart mariadb.service > /dev/null 2>&1

View File

@ -68,7 +68,7 @@ user=`whoami 2>/dev/null`
quiet=0
stop_mysqld=0
if [ -z "$(pgrep -x mysqld)" ];then
if [ -z "$(pgrep -x mariadbd)" ];then
# Startup mysqld
systemctl cat mariadb.service > /dev/null 2>&1