mysql stop/start fix for rhel

This commit is contained in:
Serghey Rodin 2015-07-01 01:37:08 +03:00
commit 16bc6193c1

View file

@ -171,8 +171,8 @@ service=$DB_SYSTEM
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
for db in ${DB_SYSTEM//,/ }; do
service="$db"
if [ "$service" == 'mysql' ]; then
db_proc_name='mysqld'
if [ -e "/etc/redhat-release" ]; then
service='mysqld'
fi
if [ "$service" == 'pgsql' ]; then
service='postgresql'