Complete public hosting operations for Coulobre v0.9 #116

Merged
parkel merged 4 commits from feature/public-hosting-0.9 into main 2026-11-22 19:33:09 +01:00
Showing only changes of commit 9900f92bb0 - Show all commits
+3 -2
View File
@@ -31,7 +31,8 @@ def prepare_milter_directory(signer_uid):
def wait_for_milter():
path = MILTER_DIRECTORY / "submit.sock"
for _ in range(90):
deadline = time.monotonic() + 180
while time.monotonic() < deadline:
try:
if stat.S_ISSOCK(path.lstat().st_mode):
return
@@ -115,7 +116,7 @@ def configure():
"configtest",
label="Validate the signing and rate-limit configuration",
)
engine.systemctl("enable", "--now", "rspamd.service")
engine.systemctl("enable", "rspamd.service")
engine.systemctl("restart", "rspamd.service")
wait_for_milter()
engine.run(