mirror of
				https://github.com/linuxserver/docker-swag.git
				synced 2025-10-31 21:17:42 +09:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			319 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			319 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/with-contenv bash
 | |
| # shellcheck shell=bash
 | |
| 
 | |
| # Migrate existing renewal confs with old paths from /etc/letsencrypt to /config/etc/letsencrypt
 | |
| if ls /config/etc/letsencrypt/renewal/*.conf >/dev/null 2>&1; then
 | |
|     sed -i 's| /etc/letsencrypt| /config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf
 | |
| fi
 |