File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,9 +80,15 @@ def deploy(self, source=None):
8080 )
8181 self .ct .bash ("chmod +x /tmp/madmail" )
8282
83- self .out .print (f"Running madmail install --simple --ip { ip } ..." )
83+ install_flags = (
84+ f"--simple --ip { ip } "
85+ " --tls-mode self_signed"
86+ " --enable-chatmail"
87+ " --non-interactive"
88+ )
89+ self .out .print (f"Running madmail install { install_flags } ..." )
8490 self .ct .bash ("systemctl stop madmail || true" )
85- self .ct .bash (f"/tmp/madmail install --simple --ip { ip } " )
91+ self .ct .bash (f"/tmp/madmail install { install_flags } " )
8692
8793 self .out .print ("Starting madmail service ..." )
8894 self .ct .bash ("systemctl daemon-reload" )
@@ -97,7 +103,6 @@ def deploy(self, source=None):
97103 self .out .section_line (f"deploy madmail complete ({ elapsed :.1f} s)" )
98104
99105
100-
101106def prepare_build_container (bld_ct , go_mod_path ):
102107 """Install or update Go inside the builder according to go.mod."""
103108 bld_ct .bash ("""
You can’t perform that action at this time.
0 commit comments