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:
parent
619f99f374
commit
03338525b7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user