Skip to content

Commit fd507a8

Browse files
author
Serghey Rodin
committed
Fix MySQL for service editor
1 parent ec55d24 commit fd507a8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bin/v-change-sys-service-config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ case $service in
4444
proftpd) dst=$(find /etc/proftpd* -name 'proftpd.conf');;
4545
php) dst=$(find /etc/php* -name php.ini);;
4646
mysql) dst=$(find /etc/my* -name my.cnf);;
47+
mysqld) dst=$(find /etc/my* -name my.cnf);;
4748
mariadb) dst=$(find /etc/my* -name my.cnf);;
4849
postgresql) dst=$($BIN/v-list-sys-pgsql-config plain |cut -f 1);;
4950
postgresql-hba) dst=$($BIN/v-list-sys-pgsql-config plain |cut -f 2);;

bin/v-open-fs-config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ if [ ! -z "$src_file" ]; then
2929
rpath=$(readlink -f "$src_file")
3030
services="nginx|apache|httpd|php|ftp|bind|named|exim|dovecot|spamassassin"
3131
services="$services|clam|mysql|postgresql|pgsql|cron|fail2ban|iptables"
32+
services="$services|my.cnf"
3233
spath=$(echo "$rpath" |egrep "$services")
3334
if [ -z "$spath" ]; then
3435
echo "Error: invalid source path $src_file"

0 commit comments

Comments
 (0)