1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-28 03:56:43 +02:00
2019-01-25 17:26:45 +02:00

13 lines
296 B
Python
Executable File

#!/usr/bin/python3
import os
import logging as log
import sys
from mailustart import convert
log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", "WARNING"))
convert("/unbound.conf", "/etc/unbound/unbound.conf")
os.execv("/usr/sbin/unbound", ["-c /etc/unbound/unbound.conf"])