mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
v-list-sys-services deb12 mariadb detection fix
This commit is contained in:
parent
b535c863d6
commit
a6fdb87f7d
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
|
|||
if [ "$service" = 'mysql' ]; then
|
||||
proc_name='mysqld'
|
||||
release=$(cat /etc/debian_version | tr "." "\n" | head -n1)
|
||||
if [ "$release" -eq 11 ] && [ ! -f "/etc/apt/sources.list.d/mysql.list" ]; then
|
||||
if [ "$release" -gt 10 ] && [ ! -f "/etc/apt/sources.list.d/mysql.list" ]; then
|
||||
service='mariadb'
|
||||
proc_name='mariadbd'
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue