mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 10:27:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| set -e
 | |
| 
 | |
| if [ "$EMAIL" = "self_signed" ]; then
 | |
| 	# do not use the '-host' option if using a self signed cert
 | |
| 	exec kwebd caddy -conf /etc/kweb.cfg -agree
 | |
| else
 | |
| 	exec kwebd caddy -conf /etc/kweb.cfg -agree -host "$FQDN"
 | |
| fi
 |