mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Fix for MariaDB listing
This commit is contained in:
parent
fa570e4009
commit
7a1975ce39
1 changed files with 5 additions and 0 deletions
|
@ -170,10 +170,15 @@ fi
|
|||
service=$DB_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
|
||||
for db in ${DB_SYSTEM//,/ }; do
|
||||
db_proc_name=''
|
||||
service="$db"
|
||||
if [ "$service" = 'mysql' ]; then
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
service='mysqld'
|
||||
db_proc_name='mysqld'
|
||||
if [ -e "/usr/lib/systemd/system/mariadb.service" ]; then
|
||||
service='mariadb'
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ "$service" == 'pgsql' ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue