v-list-sys-services: detection for official mariadb repo installation

This commit is contained in:
myvesta 2023-09-27 09:32:23 +02:00 committed by GitHub
parent 1709e9ae3d
commit 98d8ab7f29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,6 +301,10 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
service='mariadb'
proc_name='mariadbd'
fi
if [ -f "/etc/apt/sources.list.d/mariadb.list" ]; then
service='mariadb'
proc_name='mariadbd'
fi
if [ -d "/etc/sysconfig" ]; then
service='mysqld'
proc_name='mysqld'