mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-31 18:18:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			334 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			334 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env python3
 | |
| 
 | |
| import os
 | |
| import logging as log
 | |
| import sys
 | |
| from socrate import conf, system
 | |
| 
 | |
| log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", "WARNING"))
 | |
| system.set_env()
 | |
| 
 | |
| conf.jinja("/unbound.conf", os.environ, "/etc/unbound/unbound.conf")
 | |
| 
 | |
| os.execv("/usr/sbin/unbound", ["-c /etc/unbound/unbound.conf"])
 | 
