[Rspamd] Echo dummy for fowardingshosts map; Use higher map reading interval;

[Dockerapi] Exit on sigterm;
[Watchdog] Wait for dockerapi-mailcow to be online
This commit is contained in:
André
2017-10-27 11:22:39 +02:00
parent fe2bd9779b
commit 1e9bc49f2c
5 changed files with 88 additions and 45 deletions

View File

@@ -44,11 +44,13 @@ if (isset($_GET['host'])) {
}
} else {
try {
echo '240.240.240.240' . PHP_EOL;
foreach ($redis->hGetAll('WHITELISTED_FWD_HOST') as $host => $source) {
echo $host . "\n";
echo $host . PHP_EOL;
}
}
catch (RedisException $e) {
echo '240.240.240.240' . PHP_EOL;
exit;
}
}

View File

@@ -1,7 +1,7 @@
dns {
enable_dnssec = true;
}
map_watch_interval = 15s;
map_watch_interval = 60s;
dns {
timeout = 4s;
retransmits = 5;