|
|
@ -10,8 +10,7 @@ log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", "WARNING"))
|
|
|
|
|
|
|
|
|
|
|
|
# Actual startup script
|
|
|
|
# Actual startup script
|
|
|
|
os.environ["FRONT_ADDRESS"] = resolve(os.environ.get("FRONT_ADDRESS", "front"))
|
|
|
|
os.environ["FRONT_ADDRESS"] = resolve(os.environ.get("FRONT_ADDRESS", "front"))
|
|
|
|
|
|
|
|
os.environ["HOST_REDIS"] = resolve(os.environ.get("HOST_REDIS", "redis"))
|
|
|
|
if "HOST_REDIS" not in os.environ: os.environ["HOST_REDIS"] = "redis"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for rspamd_file in glob.glob("/conf/*"):
|
|
|
|
for rspamd_file in glob.glob("/conf/*"):
|
|
|
|
convert(rspamd_file, os.path.join("/etc/rspamd/local.d", os.path.basename(rspamd_file)))
|
|
|
|
convert(rspamd_file, os.path.join("/etc/rspamd/local.d", os.path.basename(rspamd_file)))
|
|
|
|