diff --git a/bin/v-change-sys-service-config b/bin/v-change-sys-service-config index 521a7be73..d6977459b 100755 --- a/bin/v-change-sys-service-config +++ b/bin/v-change-sys-service-config @@ -44,6 +44,7 @@ case $service in proftpd) dst=$(find /etc/proftpd* -name 'proftpd.conf');; php) dst=$(find /etc/php* -name php.ini);; mysql) dst=$(find /etc/my* -name my.cnf);; + mysqld) dst=$(find /etc/my* -name my.cnf);; mariadb) dst=$(find /etc/my* -name my.cnf);; postgresql) dst=$($BIN/v-list-sys-pgsql-config plain |cut -f 1);; postgresql-hba) dst=$($BIN/v-list-sys-pgsql-config plain |cut -f 2);; diff --git a/bin/v-open-fs-config b/bin/v-open-fs-config index 807bbec97..6a4f54fd8 100755 --- a/bin/v-open-fs-config +++ b/bin/v-open-fs-config @@ -29,6 +29,7 @@ if [ ! -z "$src_file" ]; then rpath=$(readlink -f "$src_file") services="nginx|apache|httpd|php|ftp|bind|named|exim|dovecot|spamassassin" services="$services|clam|mysql|postgresql|pgsql|cron|fail2ban|iptables" + services="$services|my.cnf" spath=$(echo "$rpath" |egrep "$services") if [ -z "$spath" ]; then echo "Error: invalid source path $src_file"