12 lines
		
	
	
		
			295 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			295 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| [Unit]
 | |
| 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/
 | |
| ExecStartPost=chown -R mysql:mysql /etc/my.cnf.d/certificates
 | |
| 
 | |
| [Install]
 | |
| WantedBy=mariadb.service
 |