16552: Option to get TLS certificates automatically from LE.
[arvados.git] / lib / boot / service.go
index 090e852446f7c3270f50c94a7ac88870d162a38e..b27a7462288d34a2de85bffa988fbcc2eb3d8270 100644 (file)
@@ -35,6 +35,7 @@ func (runner runServiceCommand) Run(ctx context.Context, fail func(error), super
        if err != nil {
                return err
        }
+       super.wait(ctx, createCertificates{})
        super.wait(ctx, runner.depends...)
        for u := range runner.svc.InternalURLs {
                u := u
@@ -82,6 +83,7 @@ func (runner runGoProgram) Run(ctx context.Context, fail func(error), super *Sup
                return err
        }
 
+       super.wait(ctx, createCertificates{})
        super.wait(ctx, runner.depends...)
        for u := range runner.svc.InternalURLs {
                u := u