Skip to content

Commit bd4e6b7

Browse files
authored
Merge pull request hestiacp#2536 from gOOvER/patch-1
Add detection of MariaDB 10.7
2 parents 9e26023 + 6f0df88 commit bd4e6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-list-sys-services

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ if [ -n "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
244244
fi
245245
if [ -f /usr/bin/mysql ]; then
246246
mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
247-
if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ]; then
247+
if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ] || [ $mariadb_v = "10.7" ]; then
248248
service='mariadb'
249249
proc_name='mariadbd'
250250
fi

0 commit comments

Comments
 (0)