Allow choice in TLS Certificate from mod_md
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=/bin/bash -lc 'cp /etc/httpd/md/domains/*/*.pem /etc/my.cnf.d/certificates/' | ||||
| ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/{{ mariadb_vhost }}/*.pem /etc/my.cnf.d/certificates/' | ||||
| ExecStartPost=chown -R mysql:mysql /etc/my.cnf.d/certificates | ||||
|  | ||||
| [Install] | ||||
|   | ||||
| @@ -4,7 +4,7 @@ Description=Copy TLS Certificates for Mariadb | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStartPre=mkdir -p /etc/my.cnf.d/certificates | ||||
| ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/*/*.pem /etc/my.cnf.d/certificates/' | ||||
| ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/{{ mariadb_vhost }}/*.pem /etc/my.cnf.d/certificates/' | ||||
| ExecStartPost=chown -R mysql:mysql /etc/my.cnf.d/certificates | ||||
|  | ||||
| [Install] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user