Fix the TLS copy error and MariaDB not liking the CA Bundle
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user