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.
1 parent e819202 commit 9445ce1Copy full SHA for 9445ce1
bin/v-list-sys-services
@@ -243,8 +243,8 @@ if [ -n "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
243
proc_name='mysqld'
244
fi
245
if [ -f /usr/bin/mysql ]; then
246
- mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
247
- if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ] || [ $mariadb_v = "10.7" ]; then
+ mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4 | cut -d'.' -f2`
+ if [ $mariadb_v -ge "5" ]; then
248
service='mariadb'
249
proc_name='mariadbd'
250
0 commit comments