Skip to content

Commit 16bc619

Browse files
committed
mysql stop/start fix for rhel
1 parent bbd5bef commit 16bc619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-list-sys-services

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ service=$DB_SYSTEM
171171
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
172172
for db in ${DB_SYSTEM//,/ }; do
173173
service="$db"
174-
if [ "$service" == 'mysql' ]; then
175-
db_proc_name='mysqld'
174+
if [ -e "/etc/redhat-release" ]; then
175+
service='mysqld'
176176
fi
177177
if [ "$service" == 'pgsql' ]; then
178178
service='postgresql'

0 commit comments

Comments
 (0)