File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff 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) ;;
Original file line number Diff line number Diff 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 "
You can’t perform that action at this time.
0 commit comments