检查点:保存双层证书协调进展并准备新主机验收

This commit is contained in:
xuans committed 2026-09-20 01:02:16 +08:00
1 parent 48cee12c4a
commit 2c0d0e8eda
15 files changed
+1190 -9

No files matched your search

+2 -2
View File
@@ -82,11 +82,11 @@ func runApplication(ctx context.Context, cfg config.Config, path string) (bool,
return false, err
}
defer service.Close()
errorsChannel := make(chan error, 1)
go func() { errorsChannel <- service.HTTP.ListenAndServe() }()
if service.Renewal != nil {
service.Renewal.Start(ctx)
}
errorsChannel := make(chan error, 1)
go func() { errorsChannel <- service.HTTP.ListenAndServe() }()
select {
case <-ctx.Done():
return false, nil