Fix the TLS copy error and MariaDB not liking the CA Bundle

This commit is contained in:
2021-10-31 18:37:59 -05:00
parent e7eac95453
commit 1daa22d767
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ Description=Copy TLS Certificates for Mariadb
[Service]
Type=oneshot
ExecStartPre=mkdir -p /etc/my.cnf.d/certificates
ExecStart=cp /etc/httpd/md/domains/*/*.pem /etc/my.cnf.d/certificates/
ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/*/*.pem /etc/my.cnf.d/certificates/'
ExecStartPost=chown -R mysql:mysql /etc/my.cnf.d/certificates
[Install]