We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8a4b35 + e6effa8 commit 3fd036cCopy full SHA for 3fd036c
bin/v-list-sys-services
@@ -233,6 +233,10 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
233
service="$db"
234
proc_name=''
235
if [ "$service" = 'mysql' ]; then
236
+ if [ -d "/etc/sysconfig" ]; then
237
+ service='mysqld'
238
+ proc_name='mysqld'
239
+ fi
240
if [ -e "/lib/systemd/system/mariadb.service" ]; then
241
service='mariadb'
242
proc_name='mysqld'
@@ -244,10 +248,6 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
244
248
proc_name='mariadbd'
245
249
fi
246
250
247
- if [ -d "/etc/sysconfig" ]; then
- service='mysqld'
- proc_name='mysqld'
- fi
251
252
if [ "$service" == 'pgsql' ]; then
253
service='postgresql'
0 commit comments