[Compose] UPDATE MARIADB TO 10.3 - Please check your installations after upgrading and WAIT a few minutes for the upgrade to complete!

[Postfix] Remove old python lib
[Compose] Add a grace period for MySQL when shutting down
[Netfilter] It is okay to be number two :( (fixes chain order in ip6tables FORWARD chain)
This commit is contained in:
andryyy
2019-09-20 22:54:40 +02:00
parent 1d45c563b7
commit 3bd32072f1
2 changed files with 6 additions and 5 deletions

View File

@@ -107,8 +107,8 @@ def mailcowChainOrder():
for position, item in enumerate(chain.rules):
if item.target.name == 'MAILCOW':
target_found = True
if position != 0:
logCrit('Error in %s chain order, restarting container' % (chain.name))
if position > 2:
logCrit('Error in %s chain order: MAILCOW on position %d, restarting container' % (chain.name, position))
quit_now = True
if not target_found:
logCrit('Error in %s chain: MAILCOW target not found, restarting container' % (chain.name))