1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-22 06:11:32 +00:00

Optimize python bootstrapper

This commit is contained in:
FreddleSpl0it
2025-05-23 09:49:08 +02:00
parent 5f93ff04a9
commit eb7d2628ac
10 changed files with 164 additions and 114 deletions

View File

@@ -5,7 +5,7 @@ import os
import sys
import time
class Bootstrap(BootstrapBase):
class BootstrapSogo(BootstrapBase):
def bootstrap(self):
# Skip SOGo if set
if self.isYes(os.getenv("SKIP_SOGO", "")):
@@ -135,4 +135,4 @@ class Bootstrap(BootstrapBase):
return iam_settings
except Exception as e:
print(f"Error fetching identity provider settings: {e}")
return {}
return {}